Twitter Tools 3.0 Blog Post Customizations

  • Download Gist
twitter-tools-blog-post-filters-test.php
PHP
1 2 3 4 5 6 7 8 9 10 11
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);

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.