Hide Business Info Phone Number from the Front End

add_filter( ‘aioseo_local_business_output_business_info_instance’, ‘aioseo_change_local_business_output_business_info_instance’, 10, 3 ); function aioseo_change_local_business_output_business_info_instance( $instance, $postId, $locationData ) { $instance[‘showPhone’] = false; return $instance; }Continue reading

Change Business Info Phone Icon

add_filter( ‘aioseo_local_business_info_phone_icon’, ‘aioseo_change_local_business_info_phone_icon’); function aioseo_change_local_business_info_phone_icon( $icon ) { return ‘‘; }Continue reading

Change Business Info Location Icon

add_filter( ‘aioseo_local_business_info_location_icon’, ‘aioseo_change_local_business_info_location_icon’); function aioseo_change_local_business_info_location_icon( $icon ) { return ‘‘; }Continue reading

Change Business Info Email Icon

add_filter( ‘aioseo_local_business_info_email_icon’, ‘aioseo_change_local_business_info_email_icon’); function aioseo_change_local_business_info_email_icon( $icon ) { return ‘‘; }Continue reading

Add String to the Local SEO Business Name

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 Another Meta Keyword to Each Post

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