Add custom fields to Edit vendor page
-
Hi, I’m trying to add fields to the “Edit Vendor” page.
For a product I use:
add_action('woocommerce_product_options_general_product_data', 'woocommerce_product_custom_fields');
To add custom woocommerce_wp_text_input, and then:
$product->update_meta_data("customField", sanitize_text_field($_POST['data']));
To set it.
Is there something similar for the Vendor ?
Thanks for your help.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add custom fields to Edit vendor page’ is closed to new replies.