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



map_meta_cap › WordPress Filter Hooks

Seit2.8.0
Veraltetn/v
apply_filters( 'map_meta_cap', $caps, $cap, $user_id, $args )
Parameter: (4)
  • () caps Primitive capabilities required of the user.
    Erforderlich: Ja
  • () cap Capability being checked.
    Erforderlich: Ja
  • () user_id The user ID.
    Erforderlich: Ja
  • () args Adds context to the capability check, typically starting with an object ID.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the primitive capabilities required of the given user to satisfy the capability being checked.





Quellcode

return apply_filters( 'map_meta_cap', $caps, $cap, $user_id, $args );