LLMS_REST_Posts_Controller::is_delete_forced( WP_REST_Request $request )

Whether the delete should be forced.

Parameters Parameters


(WP_REST_Request) (Required) Full details about the request.

Top ↑

Return Return

(bool) True if the delete should be forced, false otherwise.

Top ↑

Source Source

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

	protected function is_delete_forced( $request ) {
		return isset( $request['force'] ) && (bool) $request['force'];

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.