LLMS_REST_Posts_Controller::check_update_permission( LLMS_Post_Model $object = null )
Checks if an llms post can be edited.
Parameters Parameters
- $object
-
(LLMS_Post_Model) (Optional) The LLMS_Post_model object.
Default value: null
Return Return
(bool) Whether the post can be edited.
Source Source
File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php
* Checks if a post can be edited. * * @since 1.0.0-beta.1 * * @return bool Whether the post can be created */
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |