• Resolved lsantaniello

    (@lsantaniello)


    I’d like to add a new custom type field and I want to extend woocommerce_form_field method in my plugin.

    What is the best practice for me?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @lsantaniello

    Thanks for reaching out!

    I understand that you would like to create a new custom type field and you want to extend woocommerce_form_field method in your plugin, correct?

    This is a bit of a complicated topic that would need some customization to address. Unfortunately, custom coding is not something we can assist with directly. However, I’ll keep this thread open for a bit to see if anyone from the community can lend a hand.

    If you have any other questions related to development or custom coding, don’t hesitate to reach out to some of the great resources we have available for support. The WooCommerce community is filled with talented open-source developers, and many of them are active on the channels listed below:

    Hope this helps!

    Thread Starter lsantaniello

    (@lsantaniello)

    Solved using
    add_filter( 'woocommerce_form_field_myType', 'create_woocommerce_field_myType', 10, 4 );

    Thanks

    Roxy

    (@roxannestoltz)

    Hi @lsantaniello ,

    Nice work, and thanks for sharing what has worked for you here. This may be very helpful for others looking for the same solution ??

    Since this has been resolved, feel free to create a new topic should you need any further help.

    Cheers!

    Thread Starter lsantaniello

    (@lsantaniello)

    When completed, I’d like to publish my plugin free for wordpress community. How can I do it?

    Roxy

    (@roxannestoltz)

    Hi @lsantaniello ,

    This sounds great, I’d be happy to guide you.

    You can check out the www.ads-software.com developer documentation here which provides all the information and steps on publishing your plugin to the www.ads-software.com plugin directory.

    Additionally, you can read more on the plugin guidelines here.

    Hope this helps!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Extend woocommerce_form_field method’ is closed to new replies.