/* Increase WordPress upload size, post size, and max execution time Original doc link: https://wpforms.com/how-to-change-max-file-upload-size-in-wordpress/ For support, please visit: https://www.facebook.com/groups/wpformsvip */Continue reading
/** * Set the default zoom value for all shortcodes/blocks regardless of their settings. * See https://wp-pdf.com/premium-instructions/shortcodes/#zoom for available Zoom values. */ add_filter( ‘pdfemb_premium_viewer_strings’, static function( $atts ) { $atts[‘zoom’] = ‘page-actual’; $atts[‘fpzoom’] = ‘page-actual’; return $atts; } );Continue reading
function aioseo_change_local_business_address_tags( $tags ) { foreach ( $tags as $key => $tag ) { if ( ‘streetLineTwo’ === $tag[‘id’] ) { unset( $tags[ $key ] ); } } return $tags; } add_filter( ‘aioseo_local_business_address_tags’, ‘aioseo_change_local_business_address_tags’ );Continue reading
add_filter( ‘aioseo_keywords’, ‘aioseo_filter_keywords’ ); function aioseo_filter_keywords( $keywords ) { if ( is_singular() ) { $keywords = explode( ‘,’, $keywords ); array_push( $keywords, ‘anotherkeyword’ ); $keywords = implode( ‘,’, $keywords ); } return $keywords ; }Continue reading
add_filter( ‘aioseo_import_yoast_seo_posts_per_action’, ‘aioseo_increase_yoast_posts_import’); function aioseo_increase_yoast_posts_import( $number ) { return 250; }Continue reading
add_filter( ‘aioseo_import_seopress_posts_per_action’, ‘aioseo_increase_seopress_posts_import’); function aioseo_increase_seopress_posts_import( $number ) { return 250; }Continue reading
add_filter( ‘aioseo_import_rank_math_posts_per_action’, ‘aioseo_increase_rank_math_posts_import’); function aioseo_increase_rank_math_posts_import( $number ) { return 250; }Continue reading
add_filter( ‘aioseo_hide_version_number’, ‘__return_true’ );Continue reading
add_filter( “aioseo_get_term”, “aioseo_filter_term_data” ); function aioseo_filter_term_data( $term ) { if ( 12 === (int) $term->term_id ) { $term->title = ‘Some new title here’; } return $term; }Continue reading
add_filter( “aioseo_get_post”, “aioseo_filter_post_data” ); function aioseo_filter_post_data( $post ) { if ( 10 === (int) $post->post_id ) { $post->title = ‘Some new title here’; } return $post; }Continue reading