Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/28/2021 11:52:15 PM (4 years ago)
Author:
dcavins
Message:

Member Invites: Add WP Admin management screen.

Add WP Admin Screen to manage member invites
as tab on the BuddyPress > Tools screen.

See #8139.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/admin/bp-core-admin-tools.php

    r12911 r12927  
    558558                ?>
    559559            </dd>
     560
     561            <dt><?php esc_html_e( 'Manage Invitations', 'buddypress' ) ?></dt>
     562            <dd>
     563                <?php esc_html_e( 'When enabled, BuddyPress allows your users to invite nonmembers to join your site.', 'buddypress' ); ?>
     564                <?php
     565                $url = add_query_arg( 'page', 'bp-members-invitations', bp_get_admin_url( $page ) );
     566                printf(
     567                    /* translators: %s: the link to the BuddyPress Invitations management tool screen */
     568                    esc_html_x( 'Visit %s to manage your site&rsquo;s invitations.', 'buddypress invitations tool intro', 'buddypress' ),
     569                    '<a href="' . esc_url( $url ) . '">' . esc_html__( 'Invitations', 'buddypress' ) . '</a>'
     570                );
     571                ?>
     572            </dd>
     573
    560574            <dt><?php esc_html_e( 'Manage Opt-outs', 'buddypress' ) ?></dt>
    561575            <dd>
Note: See TracChangeset for help on using the changeset viewer.