Home / Admin / Change Default Post Type Name “aioseo-location”
Duplicate Snippet

Embed Snippet on Your Site

Change Default Post Type Name “aioseo-location”

This filter can be used to change the default post type name from “aioseo-location” to 'franchise-location'.

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

Comments

Add a Comment