LLMS_REST_Users_Controller::get_delete_item_args()
Retrieve arguments for deleting a resource
Contents
Return Return
(array)
Source Source
File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-users-controller.php
public function get_delete_item_args() {
return array(
'reassign' => array(
'type' => 'integer',
'description' => __( 'Reassign the deleted user\'s posts and links to this user ID.', 'lifterlms' ),
'default' => 0,
'sanitize_callback' => 'absint',
),
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0-beta.1 | Introduced. |