Home / Admin / Change Default Post Type Singular Label “Location”
Duplicate Snippet

Embed Snippet on Your Site

Change Default Post Type Singular Label “Location”

This filter can be used to change the default post type singular label from “Location” to 'Franchise'.

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

Comments

Add a Comment