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
View on Trac ↗View on GitHub ↗
45 *46 * @since 5.5.047 *48 * @param array[]|null $url_list The URL list. Default null.49 * @param int $page_num Page of results.50 */51 $url_list = apply_filters(52 'wp_sitemaps_users_pre_url_list',53 null,54 $page_num55 );56 57 if ( null !== $url_list ) {
History
Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.9.7 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.