Filter hook 'wp_sitemaps_users_pre_url_list'

in WP Core File wp-includes/sitemaps/providers/class-wp-sitemaps-users.php at line 51

Description

Filters the users URL list before it is generated. Returning a non-null value will effectively short-circuit the generation, returning that value instead.

Occurrences

Filename Line Number
wp-includes/sitemaps/providers/class-wp-sitemaps-users.php 51

Parameters

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

PHP Doc

/**
		 * Filters the users URL list before it is generated.
		 *
		 * Returning a non-null value will effectively short-circuit the generation,
		 * returning that value instead.
		 *
		 * @since 5.5.0
		 *
		 * @param array[]|null $url_list The URL list. Default null.
		 * @param int        $page_num Page of results.
		 */