Selaa lähdekoodia

cctor_image_url

chengwl 5 vuotta sitten
vanhempi
commit
79c002d041

+ 1 - 1
wp-content/plugins/coupon-creator/src/Cctor/Shortcode.php

@@ -141,7 +141,7 @@ class Cctor__Coupon__Shortcode {
 					 * @param string (image size)
 					 * @param string (image size)
 					 *
 					 *
 					 */
 					 */
-					$couponimage = apply_filters( 'cctor_image_url', $coupon_id, 'single_coupon' );
+					$couponimage = apply_filters( 'cctor_image_url', $coupon_id, 'full' );
 
 
 					if ( $couponimage ) {
 					if ( $couponimage ) {
 						/**
 						/**

+ 2 - 1
wp-content/plugins/coupon-creator/src/functions/templates/print-coupon.php

@@ -47,7 +47,8 @@ if ( have_posts() ) while ( have_posts() ) : the_post();
 			echo $outer_print_coupon_wrap['start_wrap'];
 			echo $outer_print_coupon_wrap['start_wrap'];
 
 
 				//Return If Not Passed Expiration Date
 				//Return If Not Passed Expiration Date
-				$couponimage = apply_filters( 'cctor_print_image_url' , $coupon_id, 'print_coupon'  );
+				$couponimage = apply_filters( 'cctor_print_image_url' , $coupon_id  );
+
 
 
 				if ($couponimage) {
 				if ($couponimage) {