Changes between Version 2 and Version 3 of Ticket #40666, comment 2
- Timestamp:
- 05/04/2017 03:19:00 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #40666, comment 2
v2 v3 5 5 As a result, those hooking into the new filter proposed here need to write their funcs slightly different than the similar filters for `nav_menu_link_attributes` and `page_menu_link_attributes`, as in: 6 6 7 {{{ #!php7 {{{ 8 8 add_filter( 'category_menu_link_attributes', 'add_aria_current_category', 10, 5 ); 9 9