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