filtrod 0.71
single_post_title
Opis — z kodu źródłowego
Filters the page title for a single post.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$_post_title | string | The single post page title. |
$_post | \WP_Post | The current post. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'single_post_title', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'single_post_title', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii