$source, 'utm_medium' => $medium, 'utm_campaign' => 'Affiliate Coupons', ), $url ) ); return $url; } /** * Outputs the pro feature note * * @param $feature * @param bool $singular */ function affcoups_the_pro_feature_note( $feature, $singular = true ) { if ( affcoups_is_pro_version() ) return; ?>

Pro Feature ' . esc_html( $feature ) . ''; if ( $singular ) { printf( wp_kses( __( ' is available in Affiliate Coupons (PRO)', 'affiliate-coupon' ), array( 'a' => array( 'href' => array(), 'target' => array( '_blank' ), 'rel' => array( 'nofollow' ) ) ) ), esc_url( affcoups_get_pro_version_url( 'features' ) ) ); } else { printf( wp_kses( __( ' are available in Affiliate Coupons (PRO)', 'affiliate-coupon' ), array( 'a' => array( 'href' => array(), 'target' => array( '_blank' ), 'rel' => array( 'nofollow' ) ) ) ), esc_url( affcoups_get_pro_version_url( 'features') ) ); } ?>

'; printf( wp_kses( __( 'Do you already know the pro version of Affiliate Coupons? Discover all the additional features.', 'affiliate-coupons' ), array( 'a' => array( 'href' => array(), 'target' => '_blank', 'rel' => 'nofollow' ) ) ), esc_url( $pro_features_link ) ); echo ''; } /** * Output the Modal Popup markup * * @param Affcoups_Coupon $coupon , $options * */ function affcoups_pro_modal_popup ($coupons) { if ( !affcoups_is_pro_version() ) return; $options = affcoups_get_options(); if(!isset($options['social_share'])) $options['social_share']=null; ob_start(); foreach($coupons as $Coupon) { $code = $Coupon->get_code(); if ( !empty( $code ) || $options['social_share']){ $modal_button = ( ! empty( $options['modal_popup_button_text'] ) ) ? esc_attr( trim( $options['modal_popup_button_text'] ) ) : __( ' Go to Offer', 'affiliate-coupons-pro' ); ?>
the_image(); ?>

get_title() ); ?>

get_code() ) { ?>
the_code(); ?>
get_description() ) { ?>


get_description(); ?>