filtrod 2.7.0
previous_comments_link_attributes
Opis — z kodu źródłowego
Filters the anchor tag attributes for the previous comments page link.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$attributes | string | Attributes for the anchor tag. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'previous_comments_link_attributes', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'previous_comments_link_attributes', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii