wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_ability_invoked › Hooks de Ações WordPress

Desde7.1.0
Obsoleton/a
› do_action( 'wp_ability_invoked', $this->name, $input, $this )
Parâmetros: (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
Definido em:
Codex:

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.




Fonte

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