apply_filters( 'wp_sitemaps_users_pre_url_list', array[]|null $url_list, int $page_num )
- Since
- 5.5.0
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.
Parameters
$url_listarray[]|null- The URL list. Default null.
$page_numint- Page of results.
Fired at · 1
wp-includes/sitemaps/providers/class-wp-sitemaps-users.php:51WP_Sitemaps_Users::get_url_list()
Source
* * @since 5.5.0 * * @param array[]|null $url_list The URL list. Default null. * @param int $page_num Page of results. */ $url_list = apply_filters( 'wp_sitemaps_users_pre_url_list', null, $page_num ); if ( null !== $url_list ) {History
Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.0.4 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.