[wp-trac] [WordPress Trac] #13694: Add $args parameter to wp_create_nav_menu()
WordPress Trac
wp-trac at lists.automattic.com
Wed Jun 2 08:08:13 UTC 2010
#13694: Add $args parameter to wp_create_nav_menu()
--------------------------+-------------------------------------------------
Reporter: mikeschinkel | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Menus | Version: 3.0
Severity: normal | Keywords: has-patch dev-feedback
--------------------------+-------------------------------------------------
Comment(by mikeschinkel):
Damn, using too many different wiki syntaxes for code formatting that I
can't keep them straight...
{{{
add_filter('list_terms_exclusions','microsite_list_terms_exclusions',10,2);
function microsite_list_terms_exclusions($exclusions, $args) {
$exclusions .= " AND t.slug NOT LIKE 'microsite-menu-%'";
return $exclusions;
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13694#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list