Cartflows_Utils
Class Cartflows_Utils.
Source
File: classes/class-cartflows-utils.php
Methods
- __construct — Constructor
- check_is_checkout_page — Check for checkout page
- check_is_offer_page — Check for offer page
- check_is_thankyou_page — Check for thank you page
- check_is_woo_required_page — Check if loaded page requires woo.
- clear_cache — Clear Installed Page Builder Cache
- current_post_type — Get current post type
- do_not_cache — Define constant for cache
- get_assets_path — Get assets urls
- get_checkout_id_from_order — Get checkout id for order
- get_checkout_id_from_post_data — We are using this function mostly in ajax on checkout page
- get_css_url — Get assets css url
- get_flow_id — Get flow id
- get_flow_id_from_order — Get next id for step
- get_flow_id_from_post_data — We are using this function mostly in ajax on checkout page
- get_flow_id_from_step_id — Get flow id by step
- get_flow_post_type — Get post type of flow.
- get_flow_steps — Get flow steps by id
- get_instance — Initiator
- get_js_url — Get assets js url
- get_linking_url — Get linking url
- get_next_step_id — Get next id for step
- get_optin_id_from_order — Get optin id for order
- get_optin_id_from_post_data — We are using this function mostly in ajax on checkout page
- get_selected_checkout_products — Get selected checkout products and data
- get_step_post_type — Get post type of step.
- get_step_type — Get template type of step
- get_unique_id — Get unique id.
- is_flow_post_type — Check if post type is of flow.
- is_step_post_type — Check if post type is of step.
- set_selcted_checkout_products — Get selected checkout products and data