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



wp_abilities_api_init › WordPress动作钩子

Since6.9.0
已弃用n/a
› do_action( 'wp_abilities_api_init', self::$instance )
参数:
  • () instance Abilities registry object.
    Required: Yes
定义在:
文档:

Fires when preparing abilities registry.

Abilities should be created and register their hooks on this action rather than another action to ensure they're only loaded when needed.




源码

do_action( 'wp_abilities_api_init', self::$instance );