WP HOOKS
filtrod 5.6.0

application_password_is_api_request

Args 1Plik wp-includes/user.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters whether this is an API request that Application Passwords can be used on.

By default, Application Passwords is available for the REST API and XML-RPC.

Parametry

ParametrTypOpis
$is_api_requestboolIf this is an acceptable API request.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'application_password_is_api_request', 'twoja_funkcja' );

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

Popularne w tej kategorii