Created
August 23, 2019 10:17
-
-
Save plugin-republic/f3383c45fa8c83029aa29e7202ab36f6 to your computer and use it in GitHub Desktop.
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 | |
// Use this if you are not using calculation fields | |
add_filter( 'pewc_show_calculation_params', '__return_false' ); | |
// Use this if you are not using any fields with options, e.g. radio, select | |
add_filter( 'pewc_show_option_field_params', '__return_false' ); | |
// Use this if you are not using information fields | |
add_filter( 'pewc_show_information_params', '__return_false' ); | |
// Use this if you are not using checkbox group fields | |
add_filter( 'pewc_show_checkbox_group_params', '__return_false' ); | |
// Use this if you are not using child products fields | |
add_filter( 'pewc_show_products_params', '__return_false' ); | |
// Use this if you are not using image swatch fields | |
add_filter( 'pewc_show_image_swatch_params', '__return_false' ); | |
// Use this if you are not using upload fields | |
add_filter( 'pewc_show_upload_params', '__return_false' ); | |
// Use this if you are not using text fields with character parameters | |
add_filter( 'pewc_show_character_params', '__return_false' ); | |
// Use this if you are not using number fields | |
add_filter( 'pewc_show_number_params', '__return_false' ); | |
// Use this if you are not using date fields | |
add_filter( 'pewc_show_date_params', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment