[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress Activity component admin screen. Props to WordPress core for the Comments admin screen, and its contextual help text, on which this implementation is heavily based.
File Size: | 1223 lines (45 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
bp_activity_add_admin_menu() X-Ref |
Register the Activity component admin screen. since: 1.6.0 |
bp_activity_admin_menu_order( $custom_menus = array() X-Ref |
Add activity component to custom menus array. Several BuddyPress components have top-level menu items in the Dashboard, which all appear together in the middle of the Dashboard menu. This function adds the Activity page to the array of these menu items. return: array $custom_menus List of top-level BP menu items, with Activity added. param: array $custom_menus The list of top-level BP menu items. since: 1.7.0 |
bp_activity_admin_reply() X-Ref |
AJAX receiver for Activity replies via the admin screen. Processes requests to add new activity comments, and echoes HTML for a new table row. since: 1.6.0 |
bp_activity_admin_screen_options( $value, $option, $new_value ) X-Ref |
Handle save/update of screen options for the Activity component admin screen. return: string|int Option value. False to abandon update. param: string $value Will always be false unless another plugin filters it first. param: string $option Screen option name. param: string $new_value Screen option form value. since: 1.6.0 |
bp_activity_admin_edit_hidden_metaboxes( $hidden, $screen ) X-Ref |
Hide the advanced edit meta boxes by default, so we don't clutter the screen. return: array Hidden Meta Boxes. param: array $hidden Array of items to hide. param: WP_Screen $screen Screen identifier. since: 1.6.0 |
bp_activity_admin_load() X-Ref |
Set up the Activity admin page. Does the following: - Register contextual help and screen options for this admin page. - Enqueues scripts and styles. - Catches POST and GET requests related to Activity. since: 1.6.0 |
bp_activity_admin() X-Ref |
Output the Activity component admin screens. since: 1.6.0 |
bp_activity_admin_delete() X-Ref |
Display the Activity delete confirmation screen. since: 7.0.0 |
bp_activity_admin_edit() X-Ref |
Display the single activity edit screen. since: 1.6.0 |
bp_activity_admin_edit_metabox_status( $item ) X-Ref |
Status metabox for the Activity admin edit screen. param: object $item Activity item. since: 1.6.0 |
bp_activity_admin_edit_metabox_link( $item ) X-Ref |
Primary link metabox for the Activity admin edit screen. param: object $item Activity item. since: 1.6.0 |
bp_activity_admin_edit_metabox_userid( $item ) X-Ref |
User ID metabox for the Activity admin edit screen. param: object $item Activity item. since: 1.6.0 |
bp_activity_admin_get_activity_actions() X-Ref |
Get flattened array of all registered activity actions. Format is [activity_type] => Pretty name for activity type. return: array $actions since: 2.0.0 |
bp_activity_admin_edit_metabox_type( $item ) X-Ref |
Activity type metabox for the Activity admin edit screen. param: object $item Activity item. since: 1.6.0 |
bp_activity_admin_edit_metabox_itemids( $item ) X-Ref |
Primary item ID/Secondary item ID metabox for the Activity admin edit screen. param: object $item Activity item. since: 1.6.0 |
bp_activity_admin_index() X-Ref |
Display the Activity admin index screen, which contains a list of all the activities. since: 1.6.0 |
Generated: Thu Nov 21 01:00:57 2024 | Cross-referenced by PHPXref 0.7.1 |