WP HOOKS
filtrod 2.2.0

get_wp_title_rss

Args 2Plik wp-includes/feed.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the blog title for use as the feed title.

Parametry

ParametrTypOpis
$titlestringThe current blog title.
$deprecatedstringUnused.

Wywołanie

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

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

Popularne w tej kategorii