bp_invites_screen_sent_invite()

Handle the loading of a user’s Invites > Invite by Email page.

Description

Source

File: bp-invites/screens/sent-invites.php

16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
function bp_invites_screen_sent_invite() {
 
    if ( bp_action_variables() ) {
        bp_do_404();
        return;
    }
 
    add_action( 'bp_template_content', 'bp_invites_sent_invite_screen' );
 
    /**
     * Filters the template to load for a users Invites > Invite by Email page.
     *
     * @since BuddyBoss 1.0.0
     *
     * @param string $value Path to a users Invites > Invite by Email page template.
     */
    bp_core_load_template( apply_filters( 'bp_invites_screen_sent_invite', 'members/single/plugins' ) );
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.