add_action( ‘wp_default_scripts’, function ( $scripts ) { if ( ! is_admin() && isset( $scripts->registered[‘jquery’] ) ) { $script = $scripts->registered[‘jquery’]; if ( ! empty( $script->deps ) ) { $script->deps = array_diff( $script->deps, array( ‘jquery-migrate’ ) ); } } }, 150…Continue reading
add_filter(‘preprocess_comment’, ‘remove_links_from_comment_author’); function remove_links_from_comment_author($commentdata) { // Regular expression to detect hyperlinks $pattern = ‘/Continue reading
/** * This snippet removes some options for recurring donation periods with Charitable’s Recurring Donations addon. * This might reset or cause odd things to happen to campaigns who resave settings without updating the period if * they already selected…Continue reading
// Don’t log license activations and deactivations. add_filter( ‘edd_sl_log_license_activation’, ‘__return_false’ ); add_filter( ‘edd_sl_log_license_deactivation’, ‘__return_false’ );Continue reading
remove_filter( ‘comment_text’, ‘make_clickable’, 9 );Continue reading
add_filter( ‘automatic_updater_disabled’, ‘__return_true’ );Continue reading
function ele_disable_page_title( $return ) { return false; } add_filter( ‘hello_elementor_page_title’, ‘ele_disable_page_title’ );Continue reading