Knowledge Base
How to remove all “Click to Open in Print View” Links in Pro
To remove all the “Click to Open in Print View” links in the shortcode view add the following coding to a custom plugin or to your child theme’s function.php:
</pre> <pre>/* * Remove all Click to Open in Print View Links in Coupon Creator Pro * @version 2.5 */ add_action( 'cctor_before_coupon_wrap', 'coupon_custom_functions', 100 ); add_action( 'cctor_pro_before_coupon_loop', 'coupon_custom_functions', 100 ); function coupon_custom_functions() { if ( ! is_singular('cctor_coupon') ) { remove_action( 'cctor_click_actions', 'cctor_pro_show_link', 10 ); } }</pre> <pre>