wp_sitemaps_posts_show_on_front_entry

wp_sitemaps_posts_show_on_front_entry

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('wp_sitemaps_posts_show_on_front_entry') is found 1 times:

  • /wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php line 122
    			 * @since 5.5.0
    			 *
    			 * @param array $sitemap_entry Sitemap entry for the home page.
    			 */
    			$sitemap_entry = apply_filters( 'wp_sitemaps_posts_show_on_front_entry', $sitemap_entry );
    			$url_list[]    = $sitemap_entry;
    		}
    
    		foreach ( $query->posts as $post ) {
    			$sitemap_entry = array(
    				'loc' => get_permalink( $post ),