LLMS_REST_Posts_Controller::check_delete_permission( LLMS_Post_Model $object )

Checks if an llms post can be deleted.

Parameters Parameters


(LLMS_Post_Model) (Required) The LLMS_Post_model object.

Top ↑

Return Return

(bool) Whether the post can be deleted.

Top ↑

Source Source

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

	 * @since 1.0.0-beta.1
	 * @param LLMS_Post_Model $object Optional. The LLMS_Post_model object. Default null.
	 * @return bool Whether the post can be edited.

Top ↑

Changelog Changelog

Version Description
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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