wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_get_abilities_item_include › WordPress Filter Hooks

Seit7.1.0
Veraltetn/v
› apply_filters( 'wp_get_abilities_item_include', $include, $ability, $args )
Parameter: (3)
  • () include The caller-scoped callback's result, or true when no callback is provided.
    Erforderlich: Ja
  • () ability The ability instance being evaluated.
    Erforderlich: Ja
  • () args The full $args array passed to wp_get_abilities().
    Erforderlich: Ja
Definiert in:
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.




Quellcode

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