Docs
Search
Hooks
Functions
Methods
Classes
Home
Classes
EVF_Settings_API
EVF_Settings_API::validate_checkbox_field()
EVF_Settings_API::validate_checkbox_field(
string
$key
,
string
$value
):
string
Validate Checkbox Field.
Description
If not set, return "no", otherwise return "yes".
Parameters
$key
string
required
Field key.
$value
string
required
Posted Value.
Return
string