cwcfp_add_order_note

Starting with version 5.4 of Conditional Checkout Fields, the plugin will add an order note with what the customer entered into the conditional fields. This is in addition to saving the customer's entries to the order meta as the plugin has always done.

In some cases adding the conditional field data to the order notes may not be desirable. In this case, a filter was added, which allows you to disable the saving of conditional fields in the order notes.

To use this filter to disable the saving of conditional fields in the order notes, add the following code to your theme's functions.php, a custom plugin, or with the Code Snippets plugin:

add_filter( 'cwcfp_add_order_note', '__return_false' );