wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
rest_application_password_collect_status › WordPress Function
Od5.6.0
Przestarzałyn/a
› rest_application_password_collect_status ( $user_or_error, $app_password = array() )
| Parametry: (2) |
|
| Zdefiniowane na: |
|
| Codex: | |
| Dziennik zmian: |
|
Collects the status of authenticating with an application password.
Źródło
function rest_application_password_collect_status( $user_or_error, $app_password = array() ) {
global $wp_rest_application_password_status, $wp_rest_application_password_uuid;
$wp_rest_application_password_status = $user_or_error;
if ( empty( $app_password['uuid'] ) ) {
$wp_rest_application_password_uuid = null;
} else {
$wp_rest_application_password_uuid = $app_password['uuid'];
}
}