WP HOOKS
akcjaod 5.6.0

wp_authorize_application_password_form

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

Opis — z kodu źródłowego

Fires in the Authorize Application Password form before the submit buttons.

Parametry

ParametrTypOpis
$requestarray{ The array of request data. All arguments are optional and may be empty. @type string $app_name The suggested name of the application. @type string $success_url The URL the user will be redirected to after approving the application. @type string $reject_url The URL the user will be redirected to after rejecting the application. }
$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', 'twoja_funkcja', 10, 2 );

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

Popularne w tej kategorii