Changeset 10108 for trunk/src/bp-core/bp-core-buddybar.php
- Timestamp:
- 09/13/2015 02:02:56 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-buddybar.php
r10039 r10108 1 1 <?php 2 3 2 /** 4 3 * Core BuddyPress Navigational Functions. … … 9 8 */ 10 9 11 // Exit if accessed directly 10 // Exit if accessed directly. 12 11 defined( 'ABSPATH' ) || exit; 13 12 … … 66 65 * should be used. 67 66 * 68 * @since BuddyPress (1.5.0)67 * @since 1.5.0 69 68 * 70 69 * @param array $r Parsed arguments for the nav item. … … 78 77 * Add a link to the main BuddyPress navigation array. 79 78 * 80 * @since BuddyPress (2.4.0)79 * @since 2.4.0 81 80 * 82 81 * @param array|string $args { … … 150 149 * Fires after a link is added to the main BuddyPress navigation array. 151 150 * 152 * @since BuddyPress (2.4.0)151 * @since 2.4.0 153 152 * 154 153 * @param array $r Parsed arguments for the nav item. … … 162 161 * Register a screen function for an item in the main nav array. 163 162 * 164 * @since BuddyPress (2.4.0)163 * @since 2.4.0 165 164 * 166 165 * @param array|string $args { … … 248 247 * Filters the default component subnav item. 249 248 * 250 * @since BuddyPress (1.5.0)249 * @since 1.5.0 251 250 * 252 251 * @param string $value The slug of the default subnav item … … 263 262 * navigation is registered. 264 263 * 265 * @since BuddyPress (2.4.0)264 * @since 2.4.0 266 265 * 267 266 * @param array $r Parsed arguments for the nav item. … … 591 590 * For a given subnav item, either hook the screen function or generate redirect arguments, as necessary. 592 591 * 593 * @since BuddyPress (2.1.0)592 * @since 2.1.0 594 593 * 595 594 * @param array $subnav_item The subnav array added to bp_options_nav in `bp_core_new_subnav_item()`. … … 723 722 * Check whether a given nav item has subnav items. 724 723 * 725 * @since BuddyPress (1.5.0)724 * @since 1.5.0 726 725 * 727 726 * @param string $nav_item The slug of the top-level nav item whose subnav items you're checking. … … 741 740 * Filters whether or not a given nav item has subnav items. 742 741 * 743 * @since BuddyPress (1.5.0)742 * @since 1.5.0 744 743 * 745 744 * @param bool $has_subnav Whether or not there is any subnav items. … … 822 821 * This is a direct copy of WP's private _get_admin_bar_pref() 823 822 * 824 * @since BuddyPress (1.5.0)823 * @since 1.5.0 825 824 * 826 825 * @uses get_user_option()
Note: See TracChangeset
for help on using the changeset viewer.