Plugin Directory

Changeset 3144877


Ignore:
Timestamp:
09/01/2024 10:02:53 AM (7 months ago)
Author:
deetronix
Message:

V1.7

Location:
affiliate-coupons
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • affiliate-coupons/tags/1.7/includes/template-functions.php

    r3144876 r3144877  
    196196   // if ($coupon_meta['affcoups_click_to_reveal_disable'][0] )
    197197   // return $button_html;
    198 
     198   if ( !affcoups_is_pro_version() ){?>
     199   <div class="affcoups-coupon__code">
     200   <?php $coupon->the_code(); ?>
     201    </div>
     202    <?php
     203    return;
     204
     205   }
     206   
    199207   $display_code_instu="false";
    200208   $user_logged_in="false";
     
    340348 */
    341349function affcoups_tpl_the_vendor_log( $coupon, $args = array() ) {     
    342     if(!$coupon->options['vendor_logo']=='show')
     350    if(!$coupon->options['vendor_logo']=='hide')
    343351        return;
    344352    $vendor_id=$coupon->vendor_id;
  • affiliate-coupons/trunk/includes/template-functions.php

    r3144876 r3144877  
    196196   // if ($coupon_meta['affcoups_click_to_reveal_disable'][0] )
    197197   // return $button_html;
    198 
     198   if ( !affcoups_is_pro_version() ){?>
     199   <div class="affcoups-coupon__code">
     200   <?php $coupon->the_code(); ?>
     201    </div>
     202    <?php
     203    return;
     204
     205   }
     206   
    199207   $display_code_instu="false";
    200208   $user_logged_in="false";
     
    340348 */
    341349function affcoups_tpl_the_vendor_log( $coupon, $args = array() ) {     
    342     if(!$coupon->options['vendor_logo']=='show')
     350    if(!$coupon->options['vendor_logo']=='hide')
    343351        return;
    344352    $vendor_id=$coupon->vendor_id;
Note: See TracChangeset for help on using the changeset viewer.