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