Created
February 23, 2012 14:53
-
-
Save thomasgriffin/1893164 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'wp_nav_menu_objects', 'tgm_filter_nav_menu', 10, 2 ); | |
function tgm_filter_nav_menu( $objects, $args ) { | |
echo '<pre>' . print_r( $objects, true ) . '</pre>'; | |
echo '<pre>' . print_r( $args, true ) . '</pre>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment