PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 1.1.1
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v1.1.1
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
cartflows / classes / class-cartflows-meta.php

class-cartflows-meta.php in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 1.1.1, at classes/class-cartflows-meta.php

52 lines 983 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * CartFlows Meta
4 *
5 * @package CartFlows
6 * @since 1.0.0
7 */
8
9 if ( ! class_exists( 'Cartflows_Meta' ) ) :
10
11 /**
12 * CartFlows_Meta
13 *
14 * @since 1.0.0
15 */
16 class Cartflows_Meta {
17 /**
18 * Constructor
19 *
20 * @since 1.0.0
21 */
22 public function __construct() {
23 }
24
25 /**
26 * Flow & Step Actions
27 *
28 * @param array $options options.
29 * @param int $post_id post ID.
30 */
31 function right_column_footer( $options, $post_id ) {
32 ?>
33 <div class="wcf-column-right-footer">
34 <?php submit_button( __( 'Update', 'cartflows' ), 'primary', 'save', false ); ?>
35
36 <?php
37 $flow_id = get_post_meta( $post_id, 'wcf-flow-id', true );
38 if ( $flow_id ) {
39 ?>
40 <a href="<?php echo esc_url( get_edit_post_link( $flow_id ) ); ?>" class="button pull-right wcf-back-to-flow-edit">
41 <i class="dashicons dashicons-arrow-left-alt"></i>
42 <?php _e( 'Back to edit Flow', 'cartflows' ); ?>
43 </a>
44 <?php } ?>
45
46 </div>
47 <?php
48 }
49 }
50
51 endif;
52