akcjaod 3.4.0
xmlrpc_call_success_wp_editComment
Opis — z kodu źródłowego
Fires after a comment has been successfully updated via XML-RPC.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$comment_id | int | ID of the updated comment. |
$args | array | An array of arguments to update the comment. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'xmlrpc_call_success_wp_editComment', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'xmlrpc_call_success_wp_editComment', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii