apply_filters( 'wp_sitemaps_users_pre_url_list', array[]|null $url_list, int $page_num )

Filters the users URL list before it is generated.


Description

Returning a non-null value will effectively short-circuit the generation, returning that value instead.


Top ↑

Parameters

$url_list array[]|null
The URL list. Default null.
$page_num int
Page of results.

Top ↑

Source

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

$url_list = apply_filters(
	'wp_sitemaps_users_pre_url_list',
	null,
	$page_num
);


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.