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



enable_login_autofocus › WordPress过滤钩子

Since4.8.0
已弃用n/a
apply_filters( 'enable_login_autofocus', true )
参数:
  • (bool) $print Whether to print the function call. Default true.
    Required: Yes
定义在:
文档:

Filters whether to print the call to `wp_attempt_focus()` on the login screen.





源码

if ( apply_filters( 'enable_login_autofocus', true ) && ! $error ) {