' ); } include $file; if ( $wrap ) { echo esc_attr( '' ); } } else { echo esc_attr( '

' . __( 'Template not found.', 'affiliate-coupons' ) . '

' ); } } /** * Output template wrapper start html * * @depreacted * * Html wrapper was moved into the templates directly */ function affcoups_tpl_the_wrapper_start() { global $affcoups_template_args; ?>
the_image(); } /** * Output the coupon discount markup * * @param Affcoups_Coupon $coupon */ function affcoups_tpl_the_coupon_discount( $coupon ) { if ( $coupon->get_discount() ) { ?> get_discount() ); ?> get_title(); $coupon_title = affcoups_cleanup_html_attribute( $coupon_title ); $coupon_url = esc_url( $coupon->get_url() ); $options = affcoups_get_options(); $title_linked = ( isset( $options['title_linked'] ) && '1' === $options['title_linked'] ) ? true : false; if ( $title_linked && ! empty( $coupon_url ) ) { ?> get_types() ) { ?>
the_types(); ?>
get_description() ); ?>
the_excerpt(); ?>
get_description() ); ?>
show_code() ) { ?>
the_code(); ?>
show_valid_dates() ) { ?>
the_valid_dates(); ?>
the_button( $args ); }