apply_filters( 'wp_sitemaps_posts_query_args', array $args, string $post_type )

Filters the query arguments for post type sitemap queries.


Description Description

See also See also

  • WP_Query: for a full list of arguments.

Top ↑

Parameters Parameters

$args

(array) Array of WP_Query arguments.

$post_type

(string) Post type name.


Top ↑

Source Source

File: wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.