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



wp_ability_invoked › WordPress动作钩子

Since7.1.0
已弃用n/a
› do_action( 'wp_ability_invoked', $this->name, $input, $this )
参数: (3)
  • () ability_name The name of the ability.
    Required: Yes
  • () input The raw input data for the ability, before normalization.
    Required: Yes
  • () ability The ability instance.
    Required: Yes
定义在:
文档:

Fires when an ability is invoked, before any processing takes place.

This action fires for every call regardless of outcome (validation failure, permission denial, short-circuit, or successful execution), and before input normalization so the raw input is captured as-is.




源码

do_action( 'wp_ability_invoked', $this->name, $input, $this );