A WordPress-centric search engine for devs and theme authors



rest_application_password_collect_status ›

Since5.6.0
Deprecatedn/a
rest_application_password_collect_status ( $user_or_error )
Parameters:
  • (WP_Error) $user_or_error The authenticated user or error instance.
    Required: Yes
Defined at:
Codex:

Collects the status of authenticating with an application password.



Source

function rest_application_password_collect_status( $user_or_error ) {
	global $wp_rest_application_password_status;

	$wp_rest_application_password_status = $user_or_error;
}