New function replaces all class (2.5.0 issue)
-
Hello!
Your new function replaces all classes from third party plugins that also work with Menus. It’s appears in the Astra 2.5.0 (https://wpastra.com/docs/header-improvements-in-astra/)
wordpress / wp-content / themes / astra / inc / markup-extras.php: 888
Our suggestion to replace this function:
function astra_menu_anchor_class_for_nav_menus( $atts ) { $atts['class'] = empty( $atts['class'] ) ? 'menu-link' : $atts['class'] . ' menu-link'; return $atts; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘New function replaces all class (2.5.0 issue)’ is closed to new replies.