Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
add_filter( 'wp_nav_menu_args', 'my_custom_ul_class' );
function my_custom_ul_class( $args ) {
$args['menu_class'] .= ' my-custom-class'; return $args;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.