Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'widget_posts_args', 'recent_posts_args');
- function recent_posts_args($args) {
- $args['post_type'] = array('post', 'custom Post Type');
- return $args;
- }
- $args['post_type'] = array('post', 'custom Post Type');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement