Last active
June 3, 2016 23:58
-
-
Save danieliser/ccbe433c2ff09804cc62 to your computer and use it in GitHub Desktop.
Custom Post Type Support Filter
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 | |
add_filter('emodal_post_types', 'my_custom_post_types_for_emodal'); | |
function my_custom_post_types_for_emodal($post_types) | |
{ | |
$post_types[] = 'portfolio-items'; | |
return $post_types; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment