Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Return array of enabled social broadcasting post types
- *
- * @static
- * @return array
- */
- /* WAS THIS */
- public static function broadcasting_enabled_post_types() {
- return apply_filters('social_broadcasting_enabled_post_types', array('post'));
- }
- /* CHANGE TO THIS - ADD INTO THE ARRAY THE POST TYPES YOU WANT TO HAVE AVAILABLE TO THE "SOCIAL" PLUGIN */
- public static function broadcasting_enabled_post_types() {
- return apply_filters('social_broadcasting_enabled_post_types', array('post', 'product'));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement