Class Papi_Attachment_Type
Papi type that handle attachment post type, post data and rendering. All attachment types should extend this class.
- Papi_Core_Type
- Papi_Entry_Type
- Papi_Page_Type
- Papi_Attachment_Type
Methods summary
public
string
|
|
protected
|
|
public
array
|
|
public
array
|
|
public
boolean
|
Methods inherited from Papi_Page_Type
__construct()
,
allowed()
,
display()
,
get_body_classes()
,
get_child_types()
,
get_labels()
,
get_thumbnail()
,
has_post_type()
,
remove_meta_boxes()
,
remove_post_type_support()
,
setup()
Methods inherited from Papi_Entry_Type
add_help_tabs()
,
body_classes()
,
box()
,
get_boxes()
,
get_property()
,
help()
,
help_sidebar()
,
merge_boxes()
,
property()
,
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_meta_data()
Properties summary
public
string
|
$post_type
The post type to register the type with. |
#
'attachment'
|
public
string
|
$type
The type name. |
#
'attachment'
|
Properties inherited from Papi_Page_Type
$capabilities
,
$child_types
,
$description
,
$fill_labels
,
$labels
,
$show_page_attributes
,
$show_page_template
,
$show_permalink
,
$standard_type
,
$template
,
$thumbnail