pctag_options(); //set active class for navigation tabs if ( isset( $_GET['tab'] ) ) { $active_tab = $_GET['tab']; } // end if $active_tab = ( isset( $_GET['tab'] ) ? $_GET['tab'] : 'pctag-settings' ); // end active class if ( isset( $_POST['update'] ) ) { // check if user is authorised if ( function_exists( 'current_user_can' ) && !current_user_can( 'manage_options' ) ) { die( 'Sorry, not allowed...' ); } check_admin_referer( 'pctag_settings' ); ( isset( $_POST['enable_pctag'] ) ? $pctag_options['enable_pctag'] = $_POST['enable_pctag'] : ($pctag_options['enable_pctag'] = false) ); $pctag_options['pctag_id'] = sanitize_text_field( $_POST['pctag_id'] ); // tag id $pctag_options['pctag_meta'] = wp_unslash( $_POST['pctag_meta'] ); $pctag_safe = array( "pctag_cart_yes", "pctag_cart_no", "pctag_checkout_yes", "pctag_checkout_no", "pctag_search_yes", "pctag_search_no" ); ( isset( $_POST['pctag_remove_settings'] ) ? $pctag_options['pctag_remove_settings'] = true : ($pctag_options['pctag_remove_settings'] = false) ); // remove settings on plugin deactivation // install mobilook ( isset( $_POST['pctag-mobilook'] ) ? $pctag_options['pctag-mobilook'] = true : ($pctag_options['pctag-mobilook'] = false) ); update_option( 'pctag', $pctag_options ); // update options echo '

' . esc_html__( 'Settings saved.', 'pctag' ) . '

' ; } // purchase notification $purchase_url = "options-general.php?page=pctag-pricing"; $get_pro = sprintf( wp_kses( __( 'Get Pro version to enable', 'pctag' ), array( 'a' => array( 'href' => array(), 'target' => array(), ), ) ), esc_url( $purchase_url ) ); ?>

Pctags - Pinterest Conversion Tags


META BOX feature under WordPress post editor. If you have any doubt, please refer to Pinterest documentation. Enjoy.', 'pctag' ), array( 'a' => array( 'href' => array(), 'target' => array(), ), ), array( 'a' => array( 'href' => array(), 'target' => array(), ), ) ), esc_url( plugin_dir_url( __FILE__ ) . '/assets/imgs/meta-box.png' ), esc_url( "https://developers.pinterest.com/docs/ad-tools/conversion-tag/" ) ) ; ?>

 
 
×
 
'>

 
CART PAGE, just after your base code', 'pctag' ), array( 'a' => array( 'href' => array(), 'target' => array(), ), ) ), esc_url( plugin_dir_url( __FILE__ ) . '/assets/imgs/code.jpg' ) ) ; ?>

×
 
CHECKOUT PAGE, just after your base code', 'pctag' ), array( 'a' => array( 'href' => array(), 'target' => array(), ), ) ), esc_url( plugin_dir_url( __FILE__ ) . '/assets/imgs/code.jpg' ) ) ; ?>

×
 

×
×META BOX feature.', 'pctag' ), array( 'a' => array( 'href' => array(), 'target' => array(), ), ) ), esc_url( plugin_dir_url( __FILE__ ) . '/assets/imgs/meta-box.png' ) ) ; ?>
 
 
>
HERE to Install Mobilook and test your website on Dualscreen format (Galaxy fold)', 'pctag' ), array( 'a' => array( 'href' => array(), 'target' => array(), ), 'a' => array( 'href' => array(), 'target' => array(), ), ) ), esc_url( "https://wordpress.org/plugins/mobilook/" ), esc_url( "https://wordpress.org/plugins/mobilook/" ) ) ; ?>