Plugin Updates
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
*
|
||||
* @see https://woo.com/document/template-structure/
|
||||
* @package WooCommerce\Templates
|
||||
* @version 7.0.1
|
||||
* @version 8.7.0
|
||||
*/
|
||||
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
@@ -44,6 +44,15 @@ do_action( 'woocommerce_before_edit_account_form' ); ?>
|
||||
<input type="email" class="woocommerce-Input woocommerce-Input--email input-text" name="account_email" id="account_email" autocomplete="email" value="<?php echo esc_attr( $user->user_email ); ?>" />
|
||||
</p>
|
||||
|
||||
<?php
|
||||
/**
|
||||
* Hook where additional fields should be rendered.
|
||||
*
|
||||
* @since 8.7.0
|
||||
*/
|
||||
do_action( 'woocommerce_edit_account_form_fields' );
|
||||
?>
|
||||
|
||||
<fieldset>
|
||||
<legend><?php esc_html_e( 'Password change', 'woocommerce' ); ?></legend>
|
||||
|
||||
@@ -62,7 +71,14 @@ do_action( 'woocommerce_before_edit_account_form' ); ?>
|
||||
</fieldset>
|
||||
<div class="clear"></div>
|
||||
|
||||
<?php do_action( 'woocommerce_edit_account_form' ); ?>
|
||||
<?php
|
||||
/**
|
||||
* My Account edit account form.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
do_action( 'woocommerce_edit_account_form' );
|
||||
?>
|
||||
|
||||
<p>
|
||||
<?php wp_nonce_field( 'save_account_details', 'save-account-details-nonce' ); ?>
|
||||
|
||||
Reference in New Issue
Block a user