Created
December 5, 2015 13:27
-
-
Save Dinamiko/55be2dd994c7fca94f1d 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 | |
/** | |
* Example reordering post types array | |
*/ | |
function reorder_dkpdf_posts_arr( $post_arr ) { | |
$post_arr = array( 'doc' => 'doc', 'post' => 'post', 'page' => 'page' ); | |
return $post_arr; | |
} | |
add_filter( 'dkpdf_posts_arr', 'reorder_dkpdf_posts_arr' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment