Created
October 24, 2012 23:02
-
-
Save alexkingorg/3949485 to your computer and use it in GitHub Desktop.
Twitter Tools 3.0 Blog Post Customizations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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