[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * BuddyPress - Members Settings ( Capabilities )
   4   *
   5   * @since 3.0.0
   6   * @version 3.1.0
   7   */
   8  
   9  bp_nouveau_member_hook( 'before', 'settings_template' ); ?>
  10  
  11  <h2 class="screen-heading member-capabilities-screen">
  12      <?php esc_html_e( 'Members Capabilities', 'buddypress' ); ?>
  13  </h2>
  14  
  15  <form action="<?php echo esc_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/capabilities/' ); ?>" name="account-capabilities-form" id="account-capabilities-form" class="standard-form" method="post">
  16  
  17      <label for="user-spammer">
  18          <input type="checkbox" name="user-spammer" id="user-spammer" value="1" <?php checked( bp_is_user_spammer( bp_displayed_user_id() ) ); ?> />
  19              <?php esc_html_e( 'This member is a spammer.', 'buddypress' ); ?>
  20      </label>
  21  
  22      <?php bp_nouveau_submit_button( 'member-capabilities' ); ?>
  23  
  24  </form>
  25  
  26  <?php
  27  bp_nouveau_member_hook( 'after', 'settings_template' );


Generated: Wed Feb 26 01:01:33 2020 Cross-referenced by PHPXref 0.7.1