CPT_Model
Class Layout_Custom_Single_Post
Source
File: includes/modules/post_type_enhancements/model/cpt_model.php
Expand full source code Collapse full source code View on Github
Methods
- __construct — Constructor for the class.
- can_use_model — Check if the model can be used.
- get_archive_type — Returns the model type as archive.
- get_plural — Plural label for the model
- get_priority — Returns the model priority.
- get_singular — Singular label for the model
- get_type — Returns the model type.
- has_archive — Return the support of the model for archive.
- is_boxed_title — Function used for active_callback control property for boxed title.
- is_cover_layout — Returns true if cover layout is enabled for this model.
- is_custom_layout_archive_enabled — Returns true if custom layout is enabled for this model.
- is_custom_layout_enabled — Returns true if custom layout is enabled for this model.
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |