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.


Top ↑

Return Return

(int)


Top ↑

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,

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.7 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.