Description


If you want to add extra user profile field in front end, you can use this hook.

Parameters


One argument/parameter is passed to this hook.

Usage



<?php add_action('wpdm_update_profile_filed_html','new_user_profile_field',10,1); ?>

Examples


<?php
add_action('wpdm_update_profile_filed_html','new_user_profile_field',10,1);
function new_user_profile_field($user){
?>
    <div class="col-md-6">
        <label for="fb_id">Facebook Profile Link: </label>
        <input type="text" value="<?php echo $user->fb_id; ?>" class="form-control" name="profile['fb_id']" id="fb_id"> 
    </div>
<?php
}

?>

Related


Last Updated: Jun 29, 2014


Discussion

Leave a Reply