APP_View_Page
Class for handling special pages that have a specific template file.
Package
Description Description
Methods Methods
- __construct
- _get_id — Retrieves page ID by the given class name — deprecated
- _get_page_id — Retrieves page ID by the given template
- _get_templates — Retrieves all registered page templates.
- _preserve_template — Preserves old template name before change page template in case that this template is already in use
- _register_new_template — Callback method for "theme_{$post_type}_templates" filter to add extra templates in WordPress template lists.
- _restore_preserved_template — Restores old template name after change page template in case that this template was already in use
- condition
- get_page_id — Retrieves page ID associated with current instance
- get_post_type — Retrieves the type of viewing item.
- get_template — Retrieves the template file name associated with current instance
- install — Install all registered pages procedure
- meta_tags — Modify open graph meta tags for special pages.
- pre_template_include — Locates fallback template if original wasn't found in the standard template directories.
- uninstall — Uninstall all registered pages procedure