[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Walker_Nav_Menu Compat for PHP 5.3 and UP. 4 * 5 * @package BuddyPress 6 * @subpackage Core 7 * @since 5.1.0 8 */ 9 10 // Exit if accessed directly. 11 defined( 'ABSPATH' ) || exit; 12 13 /** 14 * Create HTML list of BP nav items. 15 * 16 * @since 1.7.0 17 */ 18 class BP_Walker_Nav_Menu extends BP_Walker_Nav_Menu_Compat { 19 /** 20 * Compat method to extend Walker_Nav_Menu::walk() in PHP < 5.6. 21 * 22 * @since 5.1.0 23 * 24 * @param array $elements See {@link Walker::walk()}. 25 * @param int $max_depth See {@link Walker::walk()}. 26 */ 27 public function walk( $elements, $max_depth ) { 28 $args = array_slice( func_get_args(), 2 ); 29 30 return $this->do_walk( $elements, $max_depth, $args ); 31 } 32 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Feb 27 01:01:32 2020 | Cross-referenced by PHPXref 0.7.1 |