WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_sitemaps_posts_entry

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php apply_filters 140 /**
* Filters the sitemap entry for an individual post.
*
* @since 5.5.0
*
* @param array $sitemap_entry Sitemap entry for the post.
* @param WP_Post $post Post object.
* @param string $post_type Name of the post_type.
*/

Hook Parameters

Parameter Type Name Description
array $sitemap_entry Sitemap entry for the post.
WP_Post $post Post object.
string $post_type Name of the post_type.