Last active
November 21, 2015 10:07
-
-
Save Dinamiko/821e41a8ecd8286d3078 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
<?php | |
/** | |
* Adds post type nav_menu_item in PDF Button Post types to apply | |
*/ | |
function add_dkpdf_posts_arr( $post_arr ) { | |
array_push( $post_arr, 'nav_menu_item' ); | |
} | |
add_filter( 'dkpdf_posts_arr', 'add_dkpdf_posts_arr' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment