Search
 
SCRIPT & CODE EXAMPLE
 

PHP

how to add user profile image in my account page in woocommerce

add_action( 'woocommerce_edit_account_form', 'add_profile_imageto_edit_account_form' );
function add_profile_imageto_edit_account_form() {
    $user = wp_get_current_user();
    ?>
    <p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide">
        <label for="favorite_color"><?php _e( 'Upload Profile Photo', 'woocommerce' ); ?>  </label>
        <input type="file" name="profile_image" id="profile_image" placeholder="Upload Profile Photo" />
    </p>
    <?php
}
Comment

PREVIOUS NEXT
Code Example
Php :: Call to undefined function can() laravel spatie 
Php :: Convert Array Value Session Value To String PHP 
Php :: file_get_contents vs readfile speed 
Php :: view codeigniter 4 
Php :: how to remove warning in php 
Php :: Detecting specifically the My account "Dashboard" page 
Php :: how to access laragon phpmyadmin in local network 
Php :: setUp() must be compatible with IlluminateFoundationTestingTestCase::setUp() 
Php :: wc-notice-functions.php on line 140 
Php :: $request laravel undefined inside function query 
Php :: sort names alphabetically php 
Php :: php async curl request 
Php :: laravel belongsto nested 
Php :: run php code online 
Php :: validar rfc en php 
Php :: can we acces session variable in two files 
Php :: codeigniter input required function in php 
Php :: php how to check if page is accessed via post 
Php :: Writing a New Block for Cryptocurrency Blockchain 
Php :: add attachment to the invoice laravel 
Php :: laravel mix build as umd 
Php :: how to refresh a php variable without reloading page 
Php :: laravel gigapay delete invoice 
Php :: mamp change php version 
Php :: codeigniter database metadata 
Php :: array fill key use in php project 
Php :: echo fread($myfile,filesize("webdictionary.txt")); 
Php :: Add Payment Type to WooCommerce Admin Email 
Php :: PHP Example - AJAX Poll 
Php :: get_distance 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =