[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * BuddyPress - Groups Request Membership 4 * 5 * @since 3.0.0 6 * @version 3.1.0 7 */ 8 9 bp_nouveau_group_hook( 'before', 'request_membership_content' ); ?> 10 11 <?php if ( ! bp_group_has_requested_membership() ) : ?> 12 <p> 13 <?php 14 echo esc_html( 15 sprintf( 16 /* translators: %s: group name */ 17 __( 'You are requesting to become a member of the group "%s".', 'buddypress' ), 18 bp_get_group_name() 19 ) 20 ); 21 ?> 22 </p> 23 24 <form action="<?php bp_group_form_action( 'request-membership' ); ?>" method="post" name="request-membership-form" id="request-membership-form" class="standard-form"> 25 <label for="group-request-membership-comments"><?php esc_html_e( 'Comments (optional)', 'buddypress' ); ?></label> 26 <textarea name="group-request-membership-comments" id="group-request-membership-comments"></textarea> 27 28 <?php bp_nouveau_group_hook( '', 'request_membership_content' ); ?> 29 30 <p><input type="submit" name="group-request-send" id="group-request-send" value="<?php echo esc_attr_x( 'Send Request', 'button', 'buddypress' ); ?>" /> 31 32 <?php wp_nonce_field( 'groups_request_membership' ); ?> 33 </form><!-- #request-membership-form --> 34 <?php endif; ?> 35 36 <?php 37 bp_nouveau_group_hook( 'after', 'request_membership_content' );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Sep 17 01:00:55 2024 | Cross-referenced by PHPXref 0.7.1 |