While on any given link that has a CSS Classes value, I’d like to do something like this:
$css_classes = get_current_menu_item_css_classes();
if ( $css_classes == 'mycustomclass' ) : // do something
Thanks
While on any given link that has a CSS Classes value, I’d like to do something like this:
$css_classes = get_current_menu_item_css_classes();
if ( $css_classes == 'mycustomclass' ) : // do something
Thanks