Cartflows_Step_Post_Type
Initialization
Source
File: modules/flow/classes/class-cartflows-step-post-type.php
Methods
- __construct — Constructor
- add_page_templates — Add page templates.
- add_terms — Add Terms for Taxonomy.
- add_wp_templates_support — Add WordPress templates.
- body_class — Body classes.
- disallowed_admin_all_steps_view — Redirect admin pages.
- get_instance — Initiator
- load_page_template — Trys to load page.php for a header, footer or part theme layout.
- post_update_messages — Add Update messages for any custom post type
- prevent_slug_duplicates — Prevent slug duplicated
- query_fix — Query fixe throwing error on 404 page due our post type changes.
- step_post_type — Create custom post type
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |