add_filter( ‘aioseo_local_business_get_location’, ‘aioseo_change_local_business_get_location’, 10, 2 ); function aioseo_change_local_business_get_location( $information, $postId ) { if ( 19 === $postId ) { $information->locations->business->name .= ‘ LLC’; } return $information; }Continue reading
add_filter( ‘aioseo_local_business_address_tag_value’, ‘aioseo_change_local_business_address_tag_value’, 10, 3 ); function aioseo_change_local_business_address_tag_value( $tagValue, $tag, $id ) { if ( ‘streetLineTwo’ === $tag[‘id’] ) { $tagValue = ”; } return $tagValue; }Continue reading
define( ‘WP_POST_REVISIONS’, 4 );Continue reading
/* 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
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