if ( ! defined( ‘ABSPATH’ ) ) { exit; } add_filter( ‘frm_api_request_args’, function ( $arg_array, $args ) { if ( ! defined( ‘RD_FF_API_KLAVIYO_PRIVATE_KEY’ ) || ! RD_FF_API_KLAVIYO_PRIVATE_KEY ) { return $arg_array; } if ( empty( $args[‘url’] ) || ! is_string(…Continue reading
add_filter( ‘frm_validate_field_entry’, ‘rd_ff_block_existing_user_email’, 20, 3 ); function rd_ff_block_existing_user_email( $errors, $posted_field, $posted_value ) { // REQUIRED $form_id = 0; // Formidable form ID $email_field_id = 0; // Email field ID // OPTIONAL: meta-gated blocking $only_block_if_meta_match = true; $meta_key_to_check = ‘paying_customer’; $meta_value_to_block…Continue reading
@ini_set( ‘upload_max_filesize’ , ‘128M’ ); @ini_set( ‘post_max_size’, ‘128M’); @ini_set( ‘memory_limit’, ‘256M’ ); @ini_set( ‘max_execution_time’, ‘300’ );Continue reading
add_filter( ‘aioseo_ai_assistant_block_enabled’, ‘__return_false’ );Continue reading
function wpbeginner_remove_version() { return ”; } add_filter(‘the_generator’, ‘wpbeginner_remove_version’);Continue reading
add_filter( ‘aioseo_llms_term_description’, ‘aioseo_filter_llms_term_description’, 10, 2 ); function aioseo_filter_llms_term_description( $description, $term = null ) { if ( is_a( $term, ‘WP_Term’ ) && ‘category’ === $term->taxonomy && $term->count > 0 ) { $description .= ‘ This category contains ‘ . $term->count .…Continue reading
add_filter( ‘aioseo_llms_post_description’, ‘aioseo_filter_remove_llms_post_description’, 10, 2 ); function aioseo_filter_remove_llms_post_description( $description, $post = null ) { if ( is_a( $post, ‘WP_Post’ ) && 14 === $post->ID ) { return ”; } return $description; }Continue reading
add_filter( ‘aioseo_llms_post_description’, ‘aioseo_filter_llms_post_description’, 10, 2 ); function aioseo_filter_llms_post_description( $description, $post = null ) { if ( is_a( $post, ‘WP_Post’ ) && 14 === $post->ID ) { $description = ‘This is a featured post. ‘ . $description; } return $description; }Continue reading