Changeset 2292547
- Timestamp:
- 04/27/2020 11:23:50 AM (6 years ago)
- Location:
- wc-express-checkout
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
wc-express-checkout/tags/1.0.2/classes/class-woocommerce-express-checkout.php
r2291991 r2292547 388 388 389 389 public function plugin_template( $template, $template_name, $template_path ) { 390 if ( ! is_cart() && ! is_checkout() && ! is_wc_endpoint_url( 'order-received' ) ) { 391 return $template; 392 } 390 393 if ( file_exists( WSC_PATH . '/templates/woocommerce/express-checkout/' . $template_name ) ) { 391 394 return WSC_PATH . '/templates/woocommerce/express-checkout/' . $template_name; -
wc-express-checkout/trunk/classes/class-woocommerce-express-checkout.php
r2291750 r2292547 388 388 389 389 public function plugin_template( $template, $template_name, $template_path ) { 390 if ( ! is_cart() && ! is_checkout() && ! is_wc_endpoint_url( 'order-received' ) ) { 391 return $template; 392 } 390 393 if ( file_exists( WSC_PATH . '/templates/woocommerce/express-checkout/' . $template_name ) ) { 391 394 return WSC_PATH . '/templates/woocommerce/express-checkout/' . $template_name;
Note: See TracChangeset
for help on using the changeset viewer.