LLMS_REST_Controller_Stubs::check_read_item_permissions( int $item_id )
Determine if the current user can view the requested item.
Parameters Parameters
- $item_id
-
(int) (Required) WP_User id.
Return Return
(bool)
Source Source
File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-controller-stubs.php
protected function check_read_item_permissions( $item_id ) { // Translators: %s = method name. return llms_rest_server_error( sprintf( __( "Method '%s' not implemented. Must be overridden in subclass.", 'lifterlms' ), __METHOD__ ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.10 | Add text domain to i18n functions. |
1.0.0-beta.1 | Introduced. |