Post value from custom field
-
Hello,
I would like to ask for help according custom fields.
I have added with custom code one field in woocommerce registration form like this:
<p class=”form-row form-row-wide”>
<label for=”reg_date”><?php _e( ‘Birthday Date’, ‘woocommerce’ ); ?></label>
<input type=”text” class=”input-text” name=”date” id=”reg_date” autocomplete=”date” value=”<?php echo ( ! empty( $_POST[‘acf[field_616e80b82137b]’] ) ) ? esc_attr( wp_unslash( $_POST[‘acf[field_616e80b82137b]’] ) ) : ”; ?>” /><?php // @codingStandardsIgnoreLine ?>
</p>I have already created an extra custom field in users.
How can I get and display the value of customer date here -> https://prnt.sc/1wpgoy9
Here is the inspect code for this field -> https://prnt.sc/1wpgr9h
Thanks in advance.
The page I need help with: [log in to see the link]
- The topic ‘Post value from custom field’ is closed to new replies.