[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-nouveau/buddypress/members/single/settings/ -> delete-account.php (source)

   1  <?php
   2  /**
   3   * BuddyPress - Members Settings ( Delete Account )
   4   *
   5   * @since 3.0.0
   6   * @version 8.0.0
   7   */
   8  
   9  bp_nouveau_member_hook( 'before', 'settings_template' ); ?>
  10  
  11  <h2 class="screen-heading delete-account-screen warn">
  12      <?php esc_html_e( 'Delete Account', 'buddypress' ); ?>
  13  </h2>
  14  
  15  <?php bp_nouveau_user_feedback( 'member-delete-account' ); ?>
  16  
  17  <form action="<?php echo esc_url( bp_displayed_user_domain() . bp_nouveau_get_component_slug( 'settings' ) . '/delete-account' ); ?>" name="account-delete-form" id="account-delete-form" class="standard-form" method="post">
  18  
  19      <label id="delete-account-understand" class="warn" for="delete-account-understand">
  20          <input class="disabled" type="checkbox" name="delete-account-understand" value="1" data-bp-disable-input="delete-account-button" />
  21          <?php esc_html_e( 'I understand the consequences.', 'buddypress' ); ?>
  22      </label>
  23  
  24      <?php bp_nouveau_submit_button( 'member-delete-account' ); ?>
  25  
  26  </form>
  27  
  28  <?php
  29  bp_nouveau_member_hook( 'after', 'settings_template' );


Generated: Tue Apr 23 01:01:07 2024 Cross-referenced by PHPXref 0.7.1