Class Papi_Option_Type
Papi type that handle option, option data and rendering. All option types should extend this class.
- Papi_Core_Type
-
Papi_Entry_Type
-
Papi_Option_Type
Located at types/class-papi-option-type.php
Methods inherited from Papi_Entry_Type
__construct(),
add_help_tabs(),
body_classes(),
box(),
get_body_classes(),
get_boxes(),
get_labels(),
get_property(),
help(),
help_sidebar(),
merge_boxes(),
property(),
setup(),
singleton(),
tab(),
template()
Methods inherited from Papi_Core_Type
allowed(),
boot(),
get_class_name(),
get_file_path(),
get_id(),
get_type(),
has_name(),
match_id(),
new_class(),
setup_actions(),
setup_filters(),
setup_meta_data()
Properties summary
public
array
|
$capability
Capability. |
#
'manage_options'
|
public
string
|
$description
The description of the option type. |
#
''
|
public
string
|
$menu
The menu to register the option type on. |
#
''
|
public
string
|
$type
The type name. |
#
'option'
|