Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Roles::get_post_type_caps( string $role )
Retrieve the post type specific capabilities for a give role
Description Description
Parameters Parameters
- $role
-
(Required) Name of the role
Return Return
(array)
Source Source
File: includes/class.llms.roles.php
Changelog Changelog
Version | Description |
---|---|
4.21.2 | Use strict comparisons for in_array() . |
3.13.0 | Introduced. |