WP HOOKS
filtrod 0.71

the_weekday_date

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

Opis — z kodu źródłowego

Filters the localized weekday of the post, for display.

Parametry

ParametrTypOpis
$the_weekday_datestringThe weekday on which the post was written.
$beforestringThe HTML to output before the date.
$afterstringThe HTML to output after the date.

Wywołanie

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

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

Popularne w tej kategorii