WP HOOKS
filtrdynamicznyod 2.3.0

{$taxonomy}_{$field}_rss

Args 1Plik wp-includes/taxonomy.php

Opis — z kodu źródłowego

Filters the taxonomy field for use in RSS.

The dynamic portions of the hook name, $taxonomy, and $field, refer to the taxonomy slug and field name, respectively.

Parametry

ParametrTypOpis
$valuemixedValue of the taxonomy field.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( '{$taxonomy}_{$field}_rss', 'twoja_funkcja' );

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

Popularne w tej kategorii