Filters the list of post object sub types available within the sitemap.
$post_typesWP_Post_Type[]
return apply_filters( 'wp_sitemaps_post_types', $post_types );
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_sitemaps_post_types