This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[text* your-name placeholder "Your name here"] | |
[email* your-email placeholder "Your email here"] | |
[textarea your-message placeholder "Your message here"] | |
[submit "Send"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'woocommerce_product_options_general_product_data', 'wc_custom_add_custom_fields' ); | |
function wc_custom_add_custom_fields() { | |
// Print a custom text field | |
woocommerce_wp_text_input( array( | |
'id' => '_custom_text_field1', | |
'label' => 'Name', | |
'description' => ' Field, you can write your Name.', | |
'desc_tip' => 'true', | |
'placeholder' => 'Ram' | |
) ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'woocommerce_product_options_general_product_data', 'wc_custom_add_custom_fields' ); | |
function wc_custom_add_custom_fields() { | |
// Print a custom text field | |
woocommerce_wp_text_input( array( | |
'id' => '_custom_text_field1', | |
'label' => 'Name', | |
'description' => ' Field, you can write your Name.', | |
'desc_tip' => 'true', | |
'placeholder' => 'Ram' | |
) ); |
NewerOlder