wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_sitemaps_post_types › WordPress Filter Hooks

Seit5.5.0
Veraltetn/v
apply_filters( 'wp_sitemaps_post_types', $post_types )
Parameter:
  • (WP_Post_Type[]) $post_types Array of registered post type objects keyed by their name.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the list of post object sub types available within the sitemap.





Quellcode

return apply_filters( 'wp_sitemaps_post_types', $post_types );