wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_get_abilities_item_include › WordPress Filter Hooks

Da7.1.0
Deprecaton/a
› apply_filters( 'wp_get_abilities_item_include', $include, $ability, $args )
Parametri: (3)
  • () include The caller-scoped callback's result, or true when no callback is provided.
    Richiesto: Sì
  • () ability The ability instance being evaluated.
    Richiesto: Sì
  • () args The full $args array passed to wp_get_abilities().
    Richiesto: Sì
Definito a:
Codex:

Filters whether an individual ability should be included in the result set.

Fires after the declarative filters and the caller-scoped item_include_callback. Only abilities that pass the declarative filters reach this hook. It can override the caller-scoped callback's result.




Sorgenti

$include = (bool) apply_filters( 'wp_get_abilities_item_include', $include, $ability, $args );