wp/wp-includes/nav-menu-template.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
    31  *     @type string             $container_class      Class that is applied to the container.
    31  *     @type string             $container_class      Class that is applied to the container.
    32  *                                                    Default 'menu-{menu slug}-container'.
    32  *                                                    Default 'menu-{menu slug}-container'.
    33  *     @type string             $container_id         The ID that is applied to the container. Default empty.
    33  *     @type string             $container_id         The ID that is applied to the container. Default empty.
    34  *     @type string             $container_aria_label The aria-label attribute that is applied to the container
    34  *     @type string             $container_aria_label The aria-label attribute that is applied to the container
    35  *                                                    when it's a nav element. Default empty.
    35  *                                                    when it's a nav element. Default empty.
    36  *     @type callable|bool      $fallback_cb          If the menu doesn't exist, a callback function will fire.
    36  *     @type callable|false     $fallback_cb          If the menu doesn't exist, a callback function will fire.
    37  *                                                    Default is 'wp_page_menu'. Set to false for no fallback.
    37  *                                                    Default is 'wp_page_menu'. Set to false for no fallback.
    38  *     @type string             $before               Text before the link markup. Default empty.
    38  *     @type string             $before               Text before the link markup. Default empty.
    39  *     @type string             $after                Text after the link markup. Default empty.
    39  *     @type string             $after                Text after the link markup. Default empty.
    40  *     @type string             $link_before          Text before the link text. Default empty.
    40  *     @type string             $link_before          Text before the link text. Default empty.
    41  *     @type string             $link_after           Text after the link text. Default empty.
    41  *     @type string             $link_after           Text after the link text. Default empty.