Converts a string (e.g. ‘yes’ or ‘no’) to a bool.
Parameters
$stringstringrequired- String to convert.
Return
boolRelated
| Used by | Description |
|---|---|
EVF_Field_Date_Time::field_properties()includes/fields/class-evf-field-date-time.php | Define additional field properties. |
EVF_Shortcode_Form::view()includes/shortcodes/class-evf-shortcode-form.php | Form view. |
EVF_Shortcode_Form::add_custom_css_js()includes/shortcodes/class-evf-shortcode-form.php | Adds custom CSS and JavaScript code. |
EVF_Builder_Fields::output_fields_preview()includes/admin/builder/class-evf-builder-fields.php | Outputs fields preview content. |
EVF_Admin_Entries::evf_delete_booked_slot()includes/admin/class-evf-admin-entries.php | Delete booked slot after deleting the entries. |
EVF_Form_Fields::field_option()includes/abstracts/class-evf-form-fields.php | Helper function to create common field options that are used frequently. |
evf_bool_to_string() includes/evf-formatting-functions.php | Converts a bool to a ‘yes’ or ‘no’. |
EVF_Form_Task::update_slot_booking_value()includes/class-evf-form-task.php | Insert or update the slot booking data. |