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
/* Remove meta */ | |
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 ); |
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 | |
//Address merge types must be handled in a very specific format | |
function my_pmpro_mailchimp_listsubscribe_fields($fields, $user) | |
{ | |
$user_info = get_userdata($user->ID); | |
$new_fields = array( | |
"FNAME" => $user->first_name, | |
"EMAIL" => $user->email, | |
"LNAME" => $user->last_name, |