This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** Do NOT include the opening php tag */ | |
if ( ! function_exists( 'ddw_cf_maybe_add_post_state_blocks' ) ) : | |
add_filter( 'display_post_states', 'ddw_cf_maybe_add_post_state_blocks', 10, 2 ); | |
/** | |
* Adds optional new post states if a Post has Blocks, has the "Classic" Block or no Blocks at all. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** Do NOT include the opening php tag */ | |
if ( ! function_exists( 'ddw_sm_bible_selection' ) ) : | |
add_filter( 'sm_verse_settings', 'ddw_sm_bible_selection' ); | |
/** | |
* Plugin: Sermon Manager for WordPress | |
* For "Verse" settings add German bible versions from biblia.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Code taken from the plugin 'Remove Comments Absolutely' by Frank Bültge | |
* http://wpengineer.com/2230/removing-comments-absolutely-wordpress/ | |
* https://github.com/bueltge/Remove-Comments-Absolutely/blob/master/remove-comments-absolute.php | |
* http://bueltge.de/ | |
*/ | |
if ( ! class_exists( 'Remove_Comments_Absolute' ) ) { | |
add_action( 'plugins_loaded', array( 'Remove_Comments_Absolute', 'get_object' ) ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** Do NOT include the opening php tag */ | |
if ( ! function_exists( 'ddw_tweak_elementor_remove_wp_widgets' ) ) : | |
add_filter( 'elementor/widgets/black_list', 'ddw_tweak_elementor_remove_wp_widgets' ); | |
/** | |
* Optionally remove all WordPress widgets from the Elementor Live Editor. | |
* Note: A native Elementor filter is used. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Make Elementor the default editor, not the WordPress Editor (Gutenberg or Classic) | |
* Clicking the page title will take you to the Elementor editor directly | |
* Even non-Elementor-edited pages will become Elementor-edited pages now | |
* You can revert by clicking the "Back to WordPress Editor" button | |
* | |
* Author: Joe Fletcher, https://fletcherdigital.com | |
* URL: https://gist.github.com/heyfletch/7c59d1c0c9c56cbad51ef80290d86df7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'render_block', 'custom_wrap_html_block_output', 10, 2 ); | |
/** | |
* Wrap output of HTML blocks. | |
* | |
* @param string $block_content Original block content. | |
* @param array $block Block info. | |
* @return string The block content with a wrapper. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//====================================================================== | |
// Add post state to the projects page | |
//====================================================================== | |
add_filter( 'display_post_states', 'ecs_add_post_state', 10, 2 ); | |
function ecs_add_post_state( $post_states, $post ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Elementor Form Additional Webhook | |
* Plugin URI: https://coreysalzano.com/ | |
* Description: Adds a second Webhook to the Lot Wizard trial signup form | |
* Version: 1.0.0 | |
* Author: Corey Salzano | |
* Author URI: https://github.com/mistercorey | |
* License: GPLv2 or later | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** Do NOT include the opening php tag */ | |
if ( function_exists( 'tbex_capability_unloading_translations' ) ) : | |
add_filter( 'tbex_filter_capability_unloading_translations', 'tbex_capability_unloading_translations' ); | |
/** | |
* Set a custom capability for the Smart Tweak feature for unloading certain translations. | |
* This filter is available since Toolbar Extras version 1.3.9 | |
* |
NewerOlder