filtrod 2.5.0
comment_status_links
Opis — z kodu źródłowego
Filters the comment status links.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$status_links | string[] | An associative array of fully-formed comment status links. Includes 'All', 'Mine', 'Pending', 'Approved', 'Spam', and 'Trash'. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'comment_status_links', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'comment_status_links', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii