wp_sitemaps_posts_entry

wp_sitemaps_posts_entry

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('wp_sitemaps_posts_entry') is found 1 times:

  • /wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php line 164
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
             * @param array   $sitemap_entry Sitemap entry for the post.
             * @param WP_Post $post          Post object.
             * @param string  $post_type     Name of the post_type.
             */
            $sitemap_entry = apply_filters( 'wp_sitemaps_posts_entry', $sitemap_entry, $post, $post_type );
            $url_list[]    = $sitemap_entry;
        }
     
        return $url_list;
    }