Skip to content

Instantly share code, notes, and snippets.

@michaelschofield
Created August 11, 2014 17:16
Show Gist options
  • Save michaelschofield/83511f2a82da36830d0f to your computer and use it in GitHub Desktop.
Save michaelschofield/83511f2a82da36830d0f to your computer and use it in GitHub Desktop.
add_filter('ef_user_following_posts_query_args','any_posts_ef_user_following_posts_query_args',10,1);
function any_posts_ef_user_following_posts_query_args( $post_args ){
$post_args['post_type'] = 'any';
return $post_args;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment