apply_filters( 'wp_sitemaps_users_query_args', array $args )

Filters the query arguments for authors with public posts.


Description

Allows modification of the authors query arguments before querying.

Top ↑

See also


Top ↑

Parameters

$args array
Array of WP_User_Query arguments.

Top ↑

Source

File: wp-includes/sitemaps/providers/class-wp-sitemaps-users.php. View all references

$args = apply_filters(
	'wp_sitemaps_users_query_args',
	array(
		'has_published_posts' => array_keys( $public_post_types ),
		'number'              => wp_sitemaps_get_max_urls( $this->object_type ),
	)
);


Top ↑

Changelog

Changelog
Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes

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