aioseo_local_business_post_type_single_label

Purpose

This filter can be used to change the default post type single label “Location”.

Arguments (1)

  1. $label (string) – The post type single label.

Example code snippet

The code snippet below is just an example of how this filter can be used. In the example below, the post type single label is changed from the default “Location” to “Franchise”.

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