WP HOOKS
akcjaod 3.4.0

xmlrpc_call_success_wp_editComment

Args 2Plik wp-includes/class-wp-xmlrpc-server.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires after a comment has been successfully updated via XML-RPC.

Parametry

ParametrTypOpis
$comment_idintID of the updated comment.
$argsarrayAn 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
}

Popularne w tej kategorii