Filters the list of post object sub types available within the sitemap.
$post_types\WP_Post_Type[]wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php:49WP_Sitemaps_Posts::get_object_subtypes() * Filters the list of post object sub types available within the sitemap. * * @since 5.5.0 * * @param WP_Post_Type[] $post_types Array of registered post type objects keyed by their name. */ return apply_filters( 'wp_sitemaps_post_types', $post_types ); } /** * Gets a URL list for a post type sitemap. * * @since 5.5.0Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.