LLMS_Post_Types::get_earned_engagements_post_type_caps()
Get an array of capabilities for earned engagements post types.
Return Return
(array)
Source Source
File: includes/class.llms.post-types.php
public static function get_earned_engagements_post_type_caps() { return array( 'read_post' => LLMS_Roles::MANAGE_EARNED_ENGAGEMENT_CAP, 'read_private_posts' => LLMS_Roles::MANAGE_EARNED_ENGAGEMENT_CAP, 'edit_post' => LLMS_Roles::MANAGE_EARNED_ENGAGEMENT_CAP, 'edit_posts' => LLMS_Roles::MANAGE_EARNED_ENGAGEMENT_CAP, 'edit_others_posts' => LLMS_Roles::MANAGE_EARNED_ENGAGEMENT_CAP, 'edit_private_posts' => LLMS_Roles::MANAGE_EARNED_ENGAGEMENT_CAP, 'edit_published_posts' => LLMS_Roles::MANAGE_EARNED_ENGAGEMENT_CAP, 'publish_posts' => LLMS_Roles::MANAGE_EARNED_ENGAGEMENT_CAP, 'delete_post' => LLMS_Roles::MANAGE_EARNED_ENGAGEMENT_CAP, 'delete_posts' => LLMS_Roles::MANAGE_EARNED_ENGAGEMENT_CAP, 'delete_private_posts' => LLMS_Roles::MANAGE_EARNED_ENGAGEMENT_CAP, 'delete_published_posts' => LLMS_Roles::MANAGE_EARNED_ENGAGEMENT_CAP, 'delete_others_posts' => LLMS_Roles::MANAGE_EARNED_ENGAGEMENT_CAP, 'create_posts' => LLMS_Roles::MANAGE_EARNED_ENGAGEMENT_CAP, ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |