| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Represents a Base Ability. This class holds a default constructor to register the ability and a default permission.
| File Size: | 60 lines (2 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| __construct() X-Ref |
| Constructor - registers the ability. |
| current_user_has_permission( ?array $input = null ) X-Ref |
| Permission callback for any ability that uses this trait. return: bool Whether the current user can use this ability. param: array|null $input The input parameters (unused). |
| Generated : Sat Jun 13 09:38:55 2026 | Cross-referenced by PHPXref |