Created
October 24, 2018 09:25
-
-
Save man4toman/c7c798ee949261a5baea7c1129d3f0c0 to your computer and use it in GitHub Desktop.
Woocommerce text input
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
<?php | |
$args = array( | |
'label' => '', // Text in Label | |
'placeholder' => '', // Default placeholder | |
'class' => '', // Class of input | |
'style' => '', // Inline style | |
'wrapper_class' => '', // Class of input wrapper | |
'value' => '', // If value goes empty, it retrieved from post meta where id is the meta_key | |
'id' => '', // Required | |
'name' => '', // If name goes empty, it will set from id | |
'type' => '', // Input type | |
'desc_tip' => '', // Description tip | |
'data_type' => '', // Data type | |
'custom_attributes' => '', // Array of attributes | |
'description' => '' // Description | |
); | |
woocommerce_wp_text_input( $args ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment