WCProductFilter_fields
add_action(‘WCProductFilter_fields’,’WCProductFilter_field_my_custom_input’, 30); function WCProductFilter_field_my_custom_input(){ $WCProductFilter = isset($_GET[‘WCProductFilter’]) ? sanitize_text_field($_GET[‘WCProductFilter’]) :””; // check this to ensure for is submitted from WCProductFilter. $_custom_input = isset($_GET[‘_custom_input’]) ? sanitize_text_field($_GET[‘_custom_input’]) :””; // Do not forget to sanitization if(!$WCProductFilter): $_custom_input = ”; endif; /* * *…