filtrod 2.3.0
get_comment
Opis — z kodu źródłowego
Fires after a comment is retrieved.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$_comment | \WP_Comment | Comment data. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'get_comment', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'get_comment', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii