WP HOOKS
filtrod 5.5.0

wp_sitemaps_users_pre_url_list

Args 2Plik wp-includes/sitemaps/providers/class-wp-sitemaps-users.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the users URL list before it is generated.

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

Parametry

ParametrTypOpis
$url_listarray[] | nullThe URL list. Default null.
$page_numintPage of results.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_sitemaps_users_pre_url_list', 'twoja_funkcja', 10, 2 );

function twoja_funkcja($param_1, $param_2) {
	// Twój kod
}

Popularne w tej kategorii