I hereby claim:
- I am matt-h on github.
- I am matthewharrison (https://keybase.io/matthewharrison) on keybase.
- I have a public key ASDVUc-3c7v2HItJPzptgvAuIJ2mGNSG95tqpQQvWPMcKgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Moonwalk an array. | |
* | |
* Deduplicates multidimensional array by flattening it while preserving | |
* the deepest depth and flipping it inside out. Array values become the | |
* keys and the new values contain the depths. | |
* | |
* @since Hyperdrive 1.0.0 |
<?php | |
/** | |
* Moonwalk an array. | |
* | |
* Deduplicates multidimensional array by flattening it while preserving | |
* the deepest depth and flipping it inside out. Array values become the | |
* keys and the new values contain the depths. | |
* | |
* @since Hyperdrive 1.0.0 |
<?php | |
function woocommerce_email_format_string_find( $find, $email ) { | |
$find['customer_info'] = '{customer_info}'; | |
return $find; | |
} | |
add_filter( 'woocommerce_email_format_string_find', 'woocommerce_email_format_string_find', 10, 2 ); | |
function woocommerce_email_format_string_replace( $replace, $email ) { | |
$replace['customer_info'] = 'replacement string'; | |
return $replace; |