Title: PieterC's Replies | WordPress.org

---

# PieterC

  [  ](https://wordpress.org/support/users/siteoptimo/)

 *   [Profile](https://wordpress.org/support/users/siteoptimo/)
 *   [Topics Started](https://wordpress.org/support/users/siteoptimo/topics/)
 *   [Replies Created](https://wordpress.org/support/users/siteoptimo/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/siteoptimo/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/siteoptimo/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/siteoptimo/engagements/)
 *   [Favorites](https://wordpress.org/support/users/siteoptimo/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 121 total)

1 [2](https://wordpress.org/support/users/siteoptimo/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/siteoptimo/replies/page/3/?output_format=md)…
[7](https://wordpress.org/support/users/siteoptimo/replies/page/7/?output_format=md)
[8](https://wordpress.org/support/users/siteoptimo/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/siteoptimo/replies/page/9/?output_format=md)
[→](https://wordpress.org/support/users/siteoptimo/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Hear About Us] Question placement](https://wordpress.org/support/topic/question-placement/)
 *  Plugin Author [PieterC](https://wordpress.org/support/users/siteoptimo/)
 * (@siteoptimo)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/question-placement/#post-9965148)
 * Hi Mrboats,
 * We’ll look into it at a next update. In the meanwhile, you could probably solve
   your wish already manually with this topic:
 * [https://wordpress.org/support/topic/change-order-of-billing-fields-on-checkout-page/](https://wordpress.org/support/topic/change-order-of-billing-fields-on-checkout-page/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Hear About Us] Many notices showing up in the logs](https://wordpress.org/support/topic/many-notices-showing-up-in-the-logs/)
 *  Plugin Author [PieterC](https://wordpress.org/support/users/siteoptimo/)
 * (@siteoptimo)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/many-notices-showing-up-in-the-logs/#post-9734098)
 * Hey Louis,
 * Thanks for letting us know. We were aware of the problem. We are using the “old”
   way to get an order ID.
 * We’ll try to release an update asap which would clear this right up. Please note
   that this does not affect plugin functionality in any way.
 * Have a nice day,
 * Koen
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Plivo SMS notifications] How to add new custom variables to SMS message](https://wordpress.org/support/topic/how-to-add-new-custom-variables-to-sms-message/)
 *  Plugin Author [PieterC](https://wordpress.org/support/users/siteoptimo/)
 * (@siteoptimo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/how-to-add-new-custom-variables-to-sms-message/#post-9049106)
 * Hey Isaac,
 * This is the code related to custom variables:
 *     ```
           public static function getVariables() {
               return apply_filters( 'wcp_variables', array(
                   'order_id'  => __( 'The ID of the order.', 'woocommerce-plivo' ),
                   'home_url'  => __( 'The home URL.', 'woocommerce-plivo' ),
                   'shop_name' => __( 'The name of the shop.', 'woocommerce-plivo' ),
               ) );
           }
   
           public static function getVariableValues( $order_id ) {
               return apply_filters( 'wcp_variable_values', array(
                   'order_id'  => $order_id,
                   'home_url'  => home_url(),
                   'shop_name' => get_option( 'blogname' ),
               ), $order_id );
           }
       ```
   
 * So you’ll want to use those two filters to add custom variables.
 * Best regards,
 * Koen
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Hear About Us] Anyone tested with WC 3.0?](https://wordpress.org/support/topic/anyone-tested-with-wc-3-0/)
 *  Plugin Author [PieterC](https://wordpress.org/support/users/siteoptimo/)
 * (@siteoptimo)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/anyone-tested-with-wc-3-0/#post-9004299)
 * Hi Tevya,
 * Yes, the plugin is still just working. We should do a version bump, but it feels
   not right when nothing else has been added yet, since we have a shortlist of 
   small things to make the plugin even better.
    We’ll try to make some time to 
   give the plugin (and version number) a little TLC soon.
 * Regards,
 * Pieter
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Hear About Us] Order email](https://wordpress.org/support/topic/order-email-2/)
 *  Plugin Author [PieterC](https://wordpress.org/support/users/siteoptimo/)
 * (@siteoptimo)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/order-email-2/#post-8719834)
 * Hey Jessica,
 * Just tried this out with the latest WP + Plugin versions, and it behaves as expected.
   Do you still experience problems?
 * Regards,
 * Koen
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Hear About Us] Order email](https://wordpress.org/support/topic/order-email-2/)
 *  Plugin Author [PieterC](https://wordpress.org/support/users/siteoptimo/)
 * (@siteoptimo)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/order-email-2/#post-8719440)
 * Hello Jessica,
 * Thanks for getting in touch. Might be a compatibility issue, we’ll be looking
   into this.
 * If you’re interested, you can keep an eye on our GitHub page to see the progress.
 * Regards,
 * Koen
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Hear About Us] Where are the settings?](https://wordpress.org/support/topic/where-are-the-settings-11/)
 *  Plugin Author [PieterC](https://wordpress.org/support/users/siteoptimo/)
 * (@siteoptimo)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/where-are-the-settings-11/#post-8404773)
 * Hi Houston,
 * Thank you for reaching out. You can find your settings under WooCommerce > Accounts(/
   wp-admin/admin.php?page=wc-settings&tab=account) at the bottom.
 * If you don’t find them there, could you give a bit more information about your
   install? What WP, WooCommerce version & plugin cocktail are you running?
 * Kind regards,
 * Pieter
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Hear About Us] What is the name of the variable in the user’s profile](https://wordpress.org/support/topic/what-is-the-name-of-the-variable-in-the-users-profile/)
 *  Plugin Author [PieterC](https://wordpress.org/support/users/siteoptimo/)
 * (@siteoptimo)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/what-is-the-name-of-the-variable-in-the-users-profile/#post-8259465)
 * Hey Louis,
 * The name of that metafield is “_wchau_source”.
 * Good luck!
 * Koen
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Hear About Us] Remove source from customer email](https://wordpress.org/support/topic/remove-source-from-customer-email/)
 *  Plugin Author [PieterC](https://wordpress.org/support/users/siteoptimo/)
 * (@siteoptimo)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/remove-source-from-customer-email/#post-8234027)
 * Hey Sarah,
 * We made some changes and the above code no longer works. Now you will need to
   do this:
 *     ```
       add_filter( 'woocommerce_email_order_meta_keys' , 'remove_hearaboutus_fields',15 );
   
       function remove_hearaboutus_fields( $fields ) {
            unset($fields[__( 'Source', 'woocommerce-hear-about-us' )]);
   
            return $fields;
       }
       ```
   
 * If that doesn’t work, please try and remove that filter all together:
 *     ```
       function remove_wchau_email_field() {
           global $WCHAU;
           remove_filter( 'woocommerce_email_order_meta_keys', array( $WCHAU->customField, 'add_field_to_email' ) );
       }
   
       add_action('init', 'remove_wchau_email_field', 15);
       ```
   
 * Hope this solves your problem.
 * Koen
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Hear About Us] Feature request: Reporting](https://wordpress.org/support/topic/feature-request-reporting/)
 *  Plugin Author [PieterC](https://wordpress.org/support/users/siteoptimo/)
 * (@siteoptimo)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/feature-request-reporting/#post-6509029)
 * Update for anyone following this topic, we’ve been busy on other projects, but
   this feature is still on the roadmap. We’ll update this topic when the time is
   ready.
 * Regards,
 * Pieter
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Hear About Us] Unticked 'Allow "other" option?' field doesn't work, fix included](https://wordpress.org/support/topic/unticked-allow-other-option-field-doesnt-work-fix-included/)
 *  Plugin Author [PieterC](https://wordpress.org/support/users/siteoptimo/)
 * (@siteoptimo)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/unticked-allow-other-option-field-doesnt-work-fix-included/#post-7471491)
 * Hi Tallydigtalbiz,
 * It has indeed been fixed in our latest 1.5.2 release ([see changelog](https://wordpress.org/plugins/woocommerce-hear-about-us/changelog/)).
 * Regards,
 * Pieter
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Hear About Us] Unticked 'Allow "other" option?' field doesn't work, fix included](https://wordpress.org/support/topic/unticked-allow-other-option-field-doesnt-work-fix-included/)
 *  Plugin Author [PieterC](https://wordpress.org/support/users/siteoptimo/)
 * (@siteoptimo)
 * [10 years ago](https://wordpress.org/support/topic/unticked-allow-other-option-field-doesnt-work-fix-included/#post-7471301)
 * Hi Chris,
 * Thank you for reaching out. We’ll look into this very soon.
 * Regards,
 * Pieter
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Hear About Us] working with paypal express](https://wordpress.org/support/topic/working-with-paypal-express/)
 *  Plugin Author [PieterC](https://wordpress.org/support/users/siteoptimo/)
 * (@siteoptimo)
 * [10 years ago](https://wordpress.org/support/topic/working-with-paypal-express/#post-7150243)
 * Hello detoner,
 * We currently do not plan to support this, unfortunately.
 * Regards,
 * Koen
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Hear About Us] Remove source from customer email](https://wordpress.org/support/topic/remove-source-from-customer-email/)
 *  Plugin Author [PieterC](https://wordpress.org/support/users/siteoptimo/)
 * (@siteoptimo)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/remove-source-from-customer-email/#post-7365187)
 * Hi Pandaj,
 * Your code should work, but you’re probably removing the fields before we’re inserting
   it.
 * Have you tried giving it a later priority (ie 15)?
 *     ```
       add_filter( 'woocommerce_email_order_meta_keys' , 'remove_hearaboutus_fields',15 );
   
       function remove_hearaboutus_fields( $fields ) {
            unset($fields['wchau_source']);
   
            return $fields;
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Hear About Us] Remove source from customer email](https://wordpress.org/support/topic/remove-source-from-customer-email/)
 *  Plugin Author [PieterC](https://wordpress.org/support/users/siteoptimo/)
 * (@siteoptimo)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/remove-source-from-customer-email/#post-7365158)
 * Hi Pandaj,
 * You can use the default WooCommerce ‘woocommerce_email_order_meta_keys’ filter
   to filter this field from the customer emails.
 * Regards,
 * Pieter

Viewing 15 replies - 1 through 15 (of 121 total)

1 [2](https://wordpress.org/support/users/siteoptimo/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/siteoptimo/replies/page/3/?output_format=md)…
[7](https://wordpress.org/support/users/siteoptimo/replies/page/7/?output_format=md)
[8](https://wordpress.org/support/users/siteoptimo/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/siteoptimo/replies/page/9/?output_format=md)
[→](https://wordpress.org/support/users/siteoptimo/replies/page/2/?output_format=md)