WP HOOKS
akcjaod 6.9.0

wp_after_execute_ability

Args 3Plik wp-includes/abilities-api/class-wp-ability.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires immediately after an ability finished executing.

Parametry

ParametrTypOpis
$ability_namestringThe name of the ability.
$inputmixedThe input data for the ability.
$resultmixedThe result of the ability execution.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'wp_after_execute_ability', 'twoja_funkcja', 10, 3 );

function twoja_funkcja($param_1, $param_2, $param_3) {
	// Twój kod
}

Popularne w tej kategorii