cwcfp_radio_input_filter
The cwcfp_radio_input_filter
can be used to create additional radio buttons outside of the field's settings.
The filter has four arguments passed to it:
- $option_key: This would be the value of the radio button input.
- $option_text: This would be the text shown to the customer on the checkout page.
- $key: This would be the name of the radio button input.
- $value: The default value of the radio button input. To be used in the checked() function.