• Is there way, how extend default types for setting fields in shipping method?

    I need custom html form fields code.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    Yes you can use a custom type and some custom actions will be fired. I don’t have example code to hand though.

    Thread Starter Musilda

    (@musilda)

    Thank you for you response, for now i have problem with saving values to option.
    Is this correct filter?
    add_filter( 'woocommerce_shipping_' . $this->id . '_instance_settings_values', array( $this, 'save_custom_setting' ) );

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to extend setting API field type’ is closed to new replies.