Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #40666, comment 2


Ignore:
Timestamp:
05/04/2017 03:19:00 PM (5 years ago)
Author:
pbiron
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40666, comment 2

    v2 v3  
    55As 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:
    66
    7 {{{#!php
     7{{{
    88add_filter( 'category_menu_link_attributes', 'add_aria_current_category', 10, 5 );
    99