Class Papi_Property_Bool
Bool (true/false) property.
- Papi_Core_Property
-
Papi_Property
-
Papi_Property_Bool
Located at properties/class-papi-property-bool.php
public
boolean
|
#
format_value( mixed $value, string $slug, integer $post_id )
Format the value of the property before it's returned to WordPress admin or the site. |
public
|
|
public
mixed
|
|
public
mixed
|
#
load_value( mixed $value, string $slug, integer $post_id )
Change value after it's loaded from the database. |
protected
mixed
|
|
public
array
|
render(),
render_description_html(),
render_hidden_html(),
render_label_html(),
render_property_html(),
render_row_html(),
render_rules_json()
|
public
string
|
$convert_type
The convert type. |
#
'bool'
|
public
boolean
|
$default_value
The default value. |
#
false
|
$conditional,
$default_options,
$display
|