Home / Admin / Change the Default Taxonomy Slug “locations-category”
Duplicate Snippet

Embed Snippet on Your Site

Change the Default Taxonomy Slug “locations-category”

This filter can be used to change the default taxonomy slug “locations-category”.

<10
Code Preview
php
<?php
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;
}

Comments

Add a Comment