Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddy press


  • andru96
    Participant

    @andru96

    Displays Editable Fields for Appointments+ email and telephone

    work edit_appointment_settings_xprofile(){

    /Only Logged in clients can make these alters

    $profileuser = wp_get_current_user();

    ?>

    <h3><?php _e(“Appointments+ Settings”, ‘arrangements’); ?></h3>

    <form method=”post” activity =” “id=”appointment-alter shape” class=”standard-form”>

    <table class=”form-table”>

    <tr>

    <th><label><?php _e(“My email for A+”, ‘arrangements’); ?></label></th>

    <td>

    <input type=”text” style=”width:25em” name=”app_email” value=”<?php reverberate get_user_meta( $profileuser->ID, ‘app_email’, genuine ) ?>” <?php resound $is_readonly ?>/>

    </td>

    </tr>

    <tr>

    <th><label><?php _e(“My Phone”, ‘arrangements’); ?></label></th>

    <td>

    <input type=”text” style=”width:25em” name=”app_phone” value=”<?php reverberate get_user_meta( $profileuser->ID, ‘app_phone’, genuine ) ?>”<?php resound $is_readonly ?>/>

    </td>

    </tr>

    <input name=”action” type=”hidden” value=”save_xprofile”/>

    /Add different fields like area and so forth .. here if necessary

    </table>

    <div class=”submit”>

    <input type=”submit” activity = “” name=”appointment-alter shape submit” id=”appointment-alter frame submit” value=”Save”/>

    </div>

    <?

    }

    Thanks,

    Redbox tv for androidbox.

  • You must be logged in to reply to this topic.
Skip to toolbar