Class Papi_Page_Type
Papi type that handle all post types except attachment. All page types should extend this class.
- Papi_Core_Type
- Papi_Entry_Type
- Papi_Page_Type
Direct known subclasses
Methods summary
public
|
|
public
boolean
|
|
public
boolean
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
string
|
|
public
string
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
Methods inherited from Papi_Entry_Type
add_help_tabs()
,
body_classes()
,
box()
,
get_boxes()
,
get_property()
,
help()
,
help_sidebar()
,
merge_boxes()
,
property()
,
singleton()
,
tab()
,
template()
Methods inherited from Papi_Core_Type
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
|
$capabilities
Capabilities list. |
#
[]
|
public
array
|
$child_types
The page types that lives under this page type. |
#
[]
|
public
string
|
$description
The description of the page type. |
#
''
|
public
boolean
|
$fill_labels
Fill labels. |
#
false
|
public
array
|
$labels
Labels, the same labels that post type object uses. |
#
[]
|
public
array
|
$post_type
The post types to register the page type with. |
#
['page']
|
public
boolean
|
$standard_type
Show standard page type or not. |
#
false
|
public
boolean
|
$show_permalink
Show permalink edit box. |
#
true
|
public
boolean
|
$show_page_attributes
Show page attributes box. |
#
true
|
public
boolean
|
$show_page_template
Show page template dropdown. |
#
false
|
public
string
|
$template
The template of the page type. |
#
''
|
public
string
|
$thumbnail
The page type thumbnail. |
#
''
|
public
string
|
$type
The type name. |
#
'page'
|