LLMS_Question::delete_choice( string $id )
Delete a choice by ID
Parameters Parameters
- $id
-
(string) (Required) Choice ID.
Return Return
(boolean)
Source Source
File: includes/models/model.llms.question.php
99 100 101 102 103 104 105 106 107 | public function delete_choice( $id ) { $choice = $this ->get_choice( $id ); if ( ! $choice ) { return false; } return $choice -> delete (); } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.0 | Introduced. |