Jetpack Publicize only certain categories

Unfortunately, Jetpack Publicize module don’t have the option to choose which category of posts you want to publicize automatically. Here is the quick hack to publicize module file in order to publish future posts only from chosen category. add_filter('wpas_submit_post?', 'vipx_wpas_submit_post', 10, 4); function vipx_wpas_submit_post($ret, $post_id, $name, $connection) { $categories = get_the_terms($post_id, 'category'); if (is_array($categories)) { $categories =…
Read More