bp_activity_admin()

Output the Activity component admin screens.

Description

Source

File: bp-activity/bp-activity-admin.php

656
657
658
659
660
661
662
663
664
665
666
667
function bp_activity_admin() {
    // Decide whether to load the index or edit screen.
    $doaction = ! empty( $_REQUEST['action'] ) ? $_REQUEST['action'] : '';
 
    // Display the single activity edit screen.
    if ( 'edit' == $doaction && ! empty( $_GET['aid'] ) )
        bp_activity_admin_edit();
 
    // Otherwise, display the Activity index screen.
    else
        bp_activity_admin_index();
}

Changelog

Changelog
Version Description
BuddyPress 1.6.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.