wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_authorize_application_password_form › WordPress动作钩子

Since5.6.0
已弃用n/a
do_action( 'wp_authorize_application_password_form', $request, $user )
参数: (2)
  • (array) $request { The array of request data. All arguments are optional and may be empty. @type string $app_name The suggested name of the application. @type string $success_url The URL the user will be redirected to after approving the application. @type string $reject_url The URL the user will be redirected to after rejecting the application. }
    Required: Yes
  • (WP_User) $user The user authorizing the application.
    Required: Yes
定义在:
文档:

Fires in the Authorize Application Password form before the submit buttons.





源码

do_action( 'wp_authorize_application_password_form', $request, $user );