wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_get_abilities_item_include › Filtr WordPress Hooks

Od7.1.0
Przestarzałyn/a
› apply_filters( 'wp_get_abilities_item_include', $include, $ability, $args )
Parametry: (3)
  • () include The caller-scoped callback's result, or true when no callback is provided.
    Wymagane: Tak
  • () ability The ability instance being evaluated.
    Wymagane: Tak
  • () args The full $args array passed to wp_get_abilities().
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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