WP HOOKS
filtrod 2.1.0

the_modified_date

Args 4Plik wp-includes/general-template.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the date a post was last modified, for display.

Parametry

ParametrTypOpis
$the_modified_datestringThe last modified date.
$formatstringPHP date format.
$beforestringHTML output before the date.
$afterstringHTML output after the date.

Wywołanie

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

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

Popularne w tej kategorii