bp_activity_admin()

Output the Activity component admin screens.


Description Description


Source Source

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

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();
}

Top ↑

Changelog Changelog

Changelog
Version Description
1.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.