Disable All Page Builder Integration
add_filter( ‘aioseo_page_builder_integration_disable’, ‘__return_true’ );Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
add_filter( ‘aioseo_page_builder_integration_disable’, ‘__return_true’ );Continue reading
add_filter( ‘aioseo_local_business_taxonomy_slug’, ‘aioseo_change_local_business_taxonomy_slug’ ); function aioseo_change_local_business_taxonomy_slug( $slug ) { $slug = ‘franchise-state’; return $slug; }Continue reading
add_filter( ‘aioseo_local_business_taxonomy_name’, ‘aioseo_change_local_business_taxonomy_name’ ); function aioseo_change_local_business_taxonomy_name( $name ) { $name = ‘franchise-state’; return $name; }Continue reading
add_filter( ‘aioseo_local_business_taxonomy’, ‘aioseo_change_local_business_taxonomy’ ); function aioseo_change_local_business_taxonomy( $taxonomy ) { $taxonomy[‘hierarchical’] = true; return $taxonomy; }Continue reading
add_filter( ‘aioseo_local_business_post_type_slug’, ‘aioseo_change_local_business_post_type_slug’ ); function aioseo_change_local_business_post_type_slug( $slug ) { $slug = ‘franchise’; return $slug; }Continue reading
add_filter( ‘aioseo_local_business_post_type_single_label’, ‘aioseo_change_local_business_post_type_single_label’ ); function aioseo_change_local_business_post_type_single_label( $label ) { $label = ‘Franchise’; return $label; }Continue reading
add_filter( ‘aioseo_local_business_post_type_plural_label’, ‘aioseo_change_local_business_post_type_plural_label’ ); function aioseo_change_local_business_post_type_plural_label( $label ) { $label = ‘Franchises’; return $label; }Continue reading
add_filter( ‘aioseo_local_business_post_type_name’, ‘aioseo_change_local_business_post_type_name’ ); function aioseo_change_local_business_post_type_name( $name ) { $name = ‘franchise-location’; return $name; }Continue reading
add_filter( ‘aioseo_local_business_output_opening_hours_instance’, ‘aioseo_change_local_business_output_opening_hours_instance’, 10, 3 ); function aioseo_change_local_business_output_opening_hours_instance( $instance, $postId, $openingHoursData ) { $instance[‘showSunday’] = false; return $instance; }Continue reading
add_filter( ‘aioseo_local_business_output_opening_hours_data’, ‘aioseo_change_local_business_output_opening_hours_data’, 10, 3 ); function aioseo_change_local_business_output_opening_hours_data( $openingHoursData, $instance, $postId ) { $openingHoursData->labels->closed = __( ‘Closed today.’ ); return $openingHoursData; }Continue reading