Changeset 2582142
- Timestamp:
- 08/12/2021 03:50:43 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
iwd-checkout-connector/trunk/public/class-iwd-connector-frontend.php
r2540679 r2582142 26 26 $re = '/woocommerce\/(templates\/)?(.*)/m'; 27 27 preg_match( $re, $template, $matches ); 28 if ( isset( $matches[0] ) && 'woocommerce/templates/checkout/form-checkout.php' == $matches[0] ) { 29 $template = IWD_CONNECTOR_FRONTEND_TEMPLATES_PATH . 'iwd-checkout-saas.php'; 30 } 28 if ( 29 isset( $matches[0] ) && 'woocommerce/templates/checkout/form-checkout.php' == $matches[0] || 30 isset( $matches[0] ) && 'woocommerce/checkout/form-checkout.php' == $matches[0] 31 ) { 32 $template = IWD_CONNECTOR_FRONTEND_TEMPLATES_PATH . 'iwd-checkout-saas.php'; 33 } 31 34 return $template; 32 35 }
Note: See TracChangeset
for help on using the changeset viewer.