LLMS_REST_Courses_Controller::get_object_id( LLMS_Course $object )
Retrieve an ID from the object
Parameters Parameters
- $object
-
(LLMS_Course) (Required) LLMS_Course object.
Return Return
(int)
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-courses-controller.php
'description' => __( 'Unique Course Identifier. The WordPress Post ID', 'lifterlms' ), 'type' => 'integer', ), ), array( 'methods' => WP_REST_Server::READABLE,
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.7 | Introduced. |