learndash_map_metacap_essays( array $caps, string $cap, int $user_id, array $args = array() )

Maps the meta capabilities for essay post type.


Description Description

Fires on map_meta_cap hook.


Parameters Parameters

$caps

(Required) An Array of the user's capabilities.

$cap

(Required) Capability name.

$user_id

(Required) The User ID.

$args

(Optional) Adds the context to the cap. Typically the object ID.

Default value: array()


Top ↑

Return Return

(array) An array of user's capabilities.


Top ↑

Source Source

File: includes/quiz/ld-quiz-essays.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.