Changeset 10873 for trunk/src/bp-core/classes/class-bp-core-nav.php
- Timestamp:
- 06/03/2016 08:27:12 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-core-nav.php
r10745 r10873 211 211 * @since 2.6.0 212 212 * 213 * @param string $ keyThe slug of the main item.214 * @param string $ sub_keyThe slug of the sub item.213 * @param string $slug The slug of the main item. 214 * @param string $parent_slug The slug of the sub item. 215 215 * @return bool|callable|array False on failure, the screen function(s) on success. 216 216 */ 217 public function delete_nav( $slug, $parent_slug = '' ) { 217 public function delete_nav( $slug = '', $parent_slug = '' ) { 218 219 // Bail if slug is empty 218 220 if ( empty( $slug ) ) { 219 221 return false;
Note: See TracChangeset
for help on using the changeset viewer.