wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_application_password_collect_status › WordPress Function
Since5.6.0
已弃用n/a
› rest_application_password_collect_status ( $user_or_error, $app_password = array() )
参数: (2) |
|
定义在: |
|
文档: | |
Change Log: |
|
Collects the status of authenticating with an application password.
源码
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']; } }