apply_filters( 'wp_sitemaps_posts_entry', array $sitemap_entry , WP_Post $post , string $post_type )
Filters the sitemap entry for an individual post.
Parameters
- $sitemap_entry
-
Sitemap entry for the post.
- $post
-
Post object.
- $post_type
-
Name of the post_type.
Source
File: wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |