Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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