[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * BuddyPress - Members Settings ( Capabilities ) 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 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_nouveau_get_component_slug( 'settings' ) . '/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' );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 18 01:00:54 2024 | Cross-referenced by PHPXref 0.7.1 |