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



graceful_fail ›

SinceMU (3.0.0)
已弃用
apply_filters( 'graceful_fail', $message )
参数:
  • (string) $user_login Optional. Username for the user to check. Default empty.
    Required: Yes
查看:
  • is_super_admin()
定义在:
文档:

Determine if user is a site admin.

Plugins should use is_multisite() instead of checking if this function exists to determine if multisite is enabled.

This function must reside in a file included only if is_multisite() due to legacy function_exists() checks to determine if multisite is enabled.





源码

$message = apply_filters( 'graceful_fail', $message );