WP HOOKS
akcjaod 5.6.0

wp_authorize_application_password_form_approved_no_js

Args 3Plik wp-admin/authorize-application.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires in the Authorize Application Password new password section in the no-JS version.

In most cases, this should be used in combination with the {@see 'wp_application_passwords_approve_app_request_success'} action to ensure that both the JS and no-JS variants are handled.

Parametry

ParametrTypOpis
$new_passwordstringThe newly generated application password.
$requestarrayThe array of request data. All arguments are optional and may be empty.
$user\WP_UserThe user authorizing the application.

Wywołanie

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

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

Popularne w tej kategorii