Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Prevent some field types from being displayed in order data
function prefix_hidden_group_types_in_order( $group_types ) {
$group_types = array( 'calculation' );
return $group_types;
add_filter( 'pewc_hidden_group_types_in_order', 'prefix_hidden_group_types_in_order' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.