Notice: There is no legacy documentation available for this item, so you are seeing the current documentation.
Purpose
This filter can be used to filter the schema breadcrumb homepage name.
Arguments (1)
- $name (string) – The breadcrumb homepage name. Defaults to “Home” (localized).
Example code snippet
The code snippet below is just an example of how this filter can be used. In the example below, the schema breadcrumb homepage name is changed.
add_filter( 'aioseo_schema_breadcrumbs_home', 'aioseo_filter_schema_breadcrumbs_home' );
function aioseo_filter_schema_breadcrumbs_home( $name ) {
return 'Homepage';
}