aioseo_schema_breadcrumbs_home

aioseo_schema_breadcrumbs_home

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.7.7

apply_filters('aioseo_schema_breadcrumbs_home') is found 1 times:

  • /app/Common/Schema/Breadcrumb.php line 318
     
    		// The homepage needs to be root item of all trails.
    		$homepage = [
    			// Translators: This refers to the homepage of the site.
    			'name'        => apply_filters( 'aioseo_schema_breadcrumbs_home', __( 'Home', 'all-in-one-seo-pack' ) ),
    			'description' => aioseo()->meta->description->getHomePageDescription(),
    			'url'         => trailingslashit( home_url() ),
    			'type'        => 'posts' === get_option( 'show_on_front' ) ? 'CollectionPage' : 'WebPage'
    		];
    		array_unshift( $breadcrumbs, $homepage );