Skip to content

Instantly share code, notes, and snippets.

@nblumoe
Created May 4, 2014 09:36
Show Gist options
  • Save nblumoe/fb1ba24d40ea737bed87 to your computer and use it in GitHub Desktop.
Save nblumoe/fb1ba24d40ea737bed87 to your computer and use it in GitHub Desktop.
add_filter('widget_posts_args','exclude_posts_abtests_variants');
function exclude_posts_abtests_variants( $args ){
// IDs von Beitragsvarianten
$args['post__not_in']= array(123,345);
return $args;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment