A WordPress-centric search engine for devs and theme authors



wp_sitemaps_posts_query_args ›

Since5.5.0
Deprecatedn/a
Parameters: (2)
  • (array) $args Array of WP_Query arguments.
    Required: No
    Default:
  • (string) $post_type Post type name.
    Required: Yes
Defined at:
Codex:

Filters the query arguments for post type sitemap queries.





Source

$args = apply_filters(