Skip to content

Instantly share code, notes, and snippets.


robincornett/functions.php Secret

Created Nov 17, 2016
What would you like to do?
Reorder menus in the SuperSide Me navigation panel.
add_filter( 'supersideme_get_menus', 'prefix_get_supersideme_menus' );
* Replace and reorder the array of navigational menus in the SuperSide Me menu panel.
* @param $menus
* @return array
function prefix_get_supersideme_menus( $menus ) {
return array(
'footer' => 'Footer Navigation Menu',
'primary' => 'Primary Navigation Menu',
'supersideme' => 'SuperSide Me Navigation Menu',
'secondary' => 'Secondary Navigation Menu',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment