Skip to content

Instantly share code, notes, and snippets.

@alexkingorg
Created October 24, 2012 23:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexkingorg/3949485 to your computer and use it in GitHub Desktop.
Save alexkingorg/3949485 to your computer and use it in GitHub Desktop.
Twitter Tools 3.0 Blog Post Customizations
function aktt_test_skip_blog_post($bool, $data, $tweet) {
// make decisions here
return false; // no post will be created
}
add_filter('aktt_tweet_create_blog_post', 'aktt_test_skip_blog_post', 10, 3);
function aktt_test_skip_status($format, $data, $tweet) {
// return 'aside'; // string will be used as format
return false; // no format will be set
}
add_filter('aktt_tweet_create_blog_post_format', 'aktt_test_skip_status', 10, 3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment