This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Hubspot form styles | |
* This is for stacked inline forms. | |
* Change custom var styles wherever required. | |
*/ | |
.hs-form.stacked { | |
display: flex; | |
flex-wrap: wrap; | |
margin-right: calc(-.5 * var(--bs-gutter-x)); | |
margin-left: calc(-.5 * var(--bs-gutter-x)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Change new order email recipient for registered customers | |
function wc_change_admin_new_order_email_recipient( $recipient, $order ) { | |
global $woocommerce; | |
if($order) | |
{ | |
$order_data = $order->get_data(); | |
if('checkout' == $order_data['created_via']) { | |
$recipient = "[email protected]"; // don't forget to put your actual email | |
} else { |