aioseo_local_business_post_type_plural_label

Purpose

This filter can be used to change the default post type plural label “Locations”.

Arguments (1)

  1. $label (string) – The post type plural 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 “Locations” to “Franchises”.

add_filter( 'aioseo_local_business_post_type_plural_label', 'aioseo_change_local_business_post_type_plural_label' );

function aioseo_change_local_business_post_type_plural_label( $label ) {
	$label = 'Franchises';
	return $label;
}