Changeset 11447 for trunk/src/bp-core/bp-core-buddybar.php
- Timestamp:
- 03/04/2017 06:26:55 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/bp-core-buddybar.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-buddybar.php
r11361 r11447 35 35 * } 36 36 * @param string $component The component the navigation is attached to. Defaults to 'members'. 37 * @return bool|nullReturns false on failure.37 * @return null|false Returns false on failure. 38 38 */ 39 39 function bp_core_new_nav_item( $args, $component = 'members' ) { … … 109 109 * } 110 110 * @param string $component Optional. Component that the nav belongs to. 111 * @return bool|BP_Core_Nav_ItemReturns false on failure, new nav item on success.111 * @return false|array Returns false on failure, new nav item on success. 112 112 */ 113 113 function bp_core_create_nav_link( $args = '', $component = 'members' ) { … … 191 191 * item is clicked. 192 192 * } 193 * @return bool|null Returns false on failure.193 * @return false|null Returns false on failure. 194 194 */ 195 195 function bp_core_register_nav_screen_function( $args = '' ) { … … 395 395 * Admin Bar menu for group admins. Default: false. 396 396 * } 397 * @param string $component The component the navigation is attached to. Defaults to 'members'.398 * @return bool|nullReturns false on failure.397 * @param string|null $component The component the navigation is attached to. Defaults to 'members'. 398 * @return null|false Returns false on failure. 399 399 */ 400 400 function bp_core_new_subnav_item( $args, $component = null ) { … … 476 476 * } 477 477 * @param string $component The component the navigation is attached to. Defaults to 'members'. 478 * @return bool|objectReturns false on failure, new BP_Core_Nav_Item instance on success.478 * @return false|array Returns false on failure, new BP_Core_Nav_Item instance on success. 479 479 */ 480 480 function bp_core_create_subnav_link( $args = '', $component = 'members' ) { … … 572 572 * } 573 573 * @param string $component The component the navigation is attached to. Defaults to 'members'. 574 * @return bool|nullReturns false on failure.574 * @return null|false Returns false on failure. 575 575 */ 576 576 function bp_core_register_subnav_screen_function( $args = '', $component = 'members' ) { … … 776 776 * @since 2.6.0 Introduced the `$component` parameter. 777 777 * 778 * @param string $slug The slug of the primary navigation item.779 * @param string $component The component the navigation is attached to. Defaults to 'members'.778 * @param string $slug The slug of the primary navigation item. 779 * @param string|null $component The component the navigation is attached to. Defaults to 'members'. 780 780 * @return bool Returns false on failure, True on success. 781 781 */ … … 824 824 * @since 2.6.0 Introduced the `$component` parameter. 825 825 * 826 * @param string $parent_slug The slug of the primary navigation item.827 * @param string $slug The slug of the secondary item to be removed.828 * @param string $component The component the navigation is attached to. Defaults to 'members'.826 * @param string $parent_slug The slug of the primary navigation item. 827 * @param string $slug The slug of the secondary item to be removed. 828 * @param string|null $component The component the navigation is attached to. Defaults to 'members'. 829 829 * @return bool Returns false on failure, True on success. 830 830 */
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)