WP HOOKS
filtrod 5.2.0

get_feed_build_date

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

Opis — z kodu źródłowego

Filters the date the last post or comment in the query was modified.

Parametry

ParametrTypOpis
$max_modified_timestring | falseDate the last post or comment was modified in the query, in UTC. False on failure.
$formatstringThe date format requested in get_feed_build_date().

Wywołanie

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

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

Popularne w tej kategorii