Changeset 27201
- Timestamp:
- 02/20/2014 05:07:39 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/nav-menu-template.php
r26868 r27201 93 93 * @since 3.0.0 94 94 * 95 * @see wp_nav_menu() 96 * 95 97 * @param array $classes The CSS classes that are applied to the menu item's <li>. 96 98 * @param object $item The current menu item. 97 * @param array $args An array of arguments. @see wp_nav_menu()99 * @param array $args An array of wp_nav_menu() arguments. 98 100 */ 99 101 $class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args ) ); … … 105 107 * @since 3.0.1 106 108 * 107 * @param string The ID that is applied to the menu item's <li>. 108 * @param object $item The current menu item. 109 * @param array $args An array of arguments. @see wp_nav_menu() 109 * @see wp_nav_menu() 110 * 111 * @param string $menu_id The ID that is applied to the menu item's <li>. 112 * @param object $item The current menu item. 113 * @param array $args An array of wp_nav_menu() arguments. 110 114 */ 111 115 $id = apply_filters( 'nav_menu_item_id', 'menu-item-'. $item->ID, $item, $args ); … … 125 129 * @since 3.6.0 126 130 * 131 * @see wp_nav_menu() 132 * 127 133 * @param array $atts { 128 134 * The HTML attributes applied to the menu item's <a>, empty strings are ignored. 129 135 * 130 * @type string $title T he title attribute.131 * @type string $target T he target attribute.136 * @type string $title Title attribute. 137 * @type string $target Target attribute. 132 138 * @type string $rel The rel attribute. 133 139 * @type string $href The href attribute. 134 140 * } 135 141 * @param object $item The current menu item. 136 * @param array $args An array of arguments. @see wp_nav_menu()142 * @param array $args An array of wp_nav_menu() arguments. 137 143 */ 138 144 $atts = apply_filters( 'nav_menu_link_attributes', $atts, $item, $args ); … … 162 168 * @since 3.0.0 163 169 * 170 * @see wp_nav_menu() 171 * 164 172 * @param string $item_output The menu item's starting HTML output. 165 173 * @param object $item Menu item data object. 166 174 * @param int $depth Depth of menu item. Used for padding. 167 * @param array $args An array of arguments. @see wp_nav_menu()175 * @param array $args An array of wp_nav_menu() arguments. 168 176 */ 169 177 $output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args ); … … 227 235 * @since 3.0.0 228 236 * 229 * @param array $args Arguments from {@see wp_nav_menu()}. 237 * @see wp_nav_menu() 238 * 239 * @param array $args Array of wp_nav_menu() arguments. 230 240 */ 231 241 $args = apply_filters( 'wp_nav_menu_args', $args ); … … 278 288 * @since 3.0.0 279 289 * 280 * @param array The acceptable HTML tags for use as menu containers, defaults as 'div' and 'nav'. 290 * @param array $tags The acceptable HTML tags for use as menu containers. 291 * Default is array containing 'div' and 'nav'. 281 292 */ 282 293 $allowed_tags = apply_filters( 'wp_nav_menu_container_allowedtags', array( 'div', 'nav' ) ); … … 342 353 * @since 3.0.0 343 354 * 355 * @see wp_nav_menu() 356 * 344 357 * @param string $items The HTML list content for the menu items. 345 * @param array $args Arguments from {@see wp_nav_menu()}.358 * @param array $args Array of wp_nav_menu() arguments. 346 359 */ 347 360 $items = apply_filters( 'wp_nav_menu_items', $items, $args ); … … 351 364 * @since 3.0.0 352 365 * 366 * @see wp_nav_menu() 367 * 353 368 * @param string $items The HTML list content for the menu items. 354 * @param array $args Arguments from {@see wp_nav_menu()}.369 * @param array $args Array of wp_nav_menu() arguments. 355 370 */ 356 371 $items = apply_filters( "wp_nav_menu_{$menu->slug}_items", $items, $args ); … … 371 386 * @since 3.0.0 372 387 * 388 * @see wp_nav_menu() 389 * 373 390 * @param string $nav_menu The HTML content for the navigation menu. 374 * @param array $args Arguments from {@see wp_nav_menu()}.391 * @param array $args Array of wp_nav_menu() arguments. 375 392 */ 376 393 $nav_menu = apply_filters( 'wp_nav_menu', $nav_menu, $args );
Note: See TracChangeset
for help on using the changeset viewer.