LLMS_REST_Posts_Controller::get_delete_item_args()
Retrieves an array of arguments for the delete endpoint.
Contents
Return Return
(array) Delete endpoint arguments.
Source Source
File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php
public function get_delete_item_args() {
return array(
'force' => array(
'description' => __( 'Bypass the trash and force course deletion.', 'lifterlms' ),
'type' => 'boolean',
'default' => false,
),
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0-beta.1 | Introduced. |