Changeset 55276 for trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-walker-page.php
- Timestamp:
- 02/07/2023 05:08:26 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-walker-page.php
r51779 r55276 113 113 114 114 // Add the sub menu toggle. 115 $args['list_item_after'] .= '<button class="toggle sub-menu-toggle fill-children-current-color" data-toggle-target="' . $toggle_target_string . '" data-toggle-type="slidetoggle" data-toggle-duration="' . absint( $toggle_duration ) . '" aria-expanded="false"><span class="screen-reader-text">' . __( 'Show sub menu', 'twentytwenty' ) . '</span>' . twentytwenty_get_theme_svg( 'chevron-down' ) . '</button>'; 115 $args['list_item_after'] .= '<button class="toggle sub-menu-toggle fill-children-current-color" data-toggle-target="' . $toggle_target_string . '" data-toggle-type="slidetoggle" data-toggle-duration="' . absint( $toggle_duration ) . '" aria-expanded="false"><span class="screen-reader-text">' . 116 /* translators: Hidden accessibility text. */ 117 __( 'Show sub menu', 'twentytwenty' ) . 118 '</span>' . twentytwenty_get_theme_svg( 'chevron-down' ) . '</button>'; 116 119 117 120 }
Note: See TracChangeset
for help on using the changeset viewer.