filtrod 2.1.0
the_modified_date
Opis — z kodu źródłowego
Filters the date a post was last modified, for display.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$the_modified_date | string | The last modified date. |
$format | string | PHP date format. |
$before | string | HTML output before the date. |
$after | string | HTML 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
}
// 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