
如何解决MAMP本地开发环境“Localhost Refused to Connect”错误
rest_get_authenticated_app_password ( No parameters )
rest_get_authenticated_app_password: 这个函数用来获取REST API请求的认证应用密码。它接收当前的请求对象并返回认证的应用程序密码。
获取用于验证请求的应用密码。
function rest_get_authenticated_app_password() { global $wp_rest_application_password_uuid; return $wp_rest_application_password_uuid; }