Used By
Used By | Description |
---|---|
wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php: WP_Sitemaps_Posts::get_object_subtypes() | Returns the public post types, which excludes nav_items and similar types. |
Filters the list of post object sub types available within the sitemap.
(WP_Post_Type[]) Array of registered post type objects keyed by their name.
File: wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php
Version | Description |
---|---|
5.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_sitemaps_post_types