Class Papi_Option_Type
Papi type that handle option, option data and rendering. All option types should extend this class.
- Papi_Core_Type
-
Papi_Page_Type_Meta
-
Papi_Page_Type
-
Papi_Option_Type
Located at types/class-papi-option-type.php
public
string
|
|
public
|
box(),
display(),
get_boxes(),
get_child_property(),
get_property(),
property(),
remove(),
remove_meta_boxes(),
remove_post_type_support(),
setup(),
tab(),
template()
|
__construct(),
current_user_is_allowed(),
get_child_types(),
get_labels(),
get_thumbnail(),
has_name(),
has_post_type()
|
boot(),
get_class_name(),
get_file_path(),
get_id(),
match_id(),
new_class(),
setup_actions(),
setup_filters()
|
public
string
|
$_meta_method
The method name to use instead of |
#
'option_type'
|
public
array
|
$capability
Capability. |
#
'manage_options'
|
public
string
|
$menu
The menu to register the option type on. |
#
''
|
public
string
|
$name
The name of the option type. |
#
''
|
public
string
|
$post_type
The fake post type to use. |
#
'_papi_option_type'
|
$boxes
|
$capabilities,
$child_types,
$description,
$fill_labels,
$labels,
$sort_order,
$standard_type,
$template,
$thumbnail
|
$id
|