PluginProbe
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell / trunk
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell vtrunk
3.13.1 3.13.0 3.12.13 3.12.12 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.1 3.12.2 3.12.0 3.11.1 3.11.0 3.10.9 3.10.8 3.10.7 3.10.6 2.8.16 2.8.17 2.8.18 All 259 releases
wpfunnels / admin / modules / type / abstruct-wpfnl-type.php

abstruct-wpfnl-type.php in WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell trunk, at admin/modules/type/abstruct-wpfnl-type.php

48 lines 913 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Abstract funnel
4 *
5 * @package
6 */
7 namespace WPFunnels\Admin\FunnelType;
8
9 abstract class Wpfnl_Funnel_Type
10 {
11
12 /**
13 * Fetch product/course when search product/course in canvas for checkout/upsell/downsell
14 */
15 abstract public function retrieve_item( $term );
16
17 /**
18 * Fetch product/course when search product/course in canvas for orderbump
19 */
20 abstract public function retrieve_ob_item( $term );
21
22
23 /**
24 * Save checkout item to post meta
25 *
26 * @param Array $payload
27 * @param String $product_id
28 * @param Array $saved_products
29 *
30 * @since 2.4.6
31 */
32 abstract public function save_items( $payload, $product_id, $saved_products );
33
34
35 /**
36 * Get items for checkout step
37 *
38 * @param String $step_id
39 *
40 * @return Array
41 * @since 2.4.6
42 */
43 abstract public function get_items( $step_id );
44
45
46
47
48 }