Description
Filters the sitemap entry for an individual post.
Occurrences
Filename | Line Number |
---|---|
wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php | 164 |
Parameters
Type | Name | Description |
---|---|---|
array | $sitemap_entry | Sitemap entry for the post. |
WP_Post | $post | Post object. |
string | $post_type | Name of the post_type. |
PHP Doc
/**
* 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.
*/