LLMS_REST_Controller_Stubs::check_read_object_permissions( object $object )

Determine if the current user can view the object.


Parameters Parameters

$object

(object) (Required) Object.


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-controller-stubs.php

	protected function check_read_object_permissions( $object ) {

		// Translators: %s = method name.
		return llms_rest_server_error( sprintf( __( "Method '%s' not implemented. Must be overridden in subclass.", 'lifterlms' ), __METHOD__ ) );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.7
1.0.0-beta.10 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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