', $this->generate_share_buttons('buddypress', 'share', array('only_share' => false, 'post_type' => 'buddypress', 'url' => $activity_link, 'title' => $activity_title))); } } } if (!function_exists('essb_buddypress_integration_activity')) { function essb_buddypress_integration_activity() { global $essb_options; essb_depend_load_function('essb_check_applicability_module', 'lib/core/extenders/essb-core-extender-check-applicability-module.php'); if (essb_check_applicability_module('buddypress', $essb_options, essb_option_value('display_exclude_from'))) { $activity_type = bp_get_activity_type(); $activity_link = bp_get_activity_thread_permalink(); $activity_title = bp_get_activity_feed_item_title(); printf('%1$s
', $this->generate_share_buttons('buddypress', 'share', array('only_share' => false, 'post_type' => 'buddypress', 'url' => $activity_link, 'title' => $activity_title))); } } } if (!function_exists('essb_buddypress_activate')) { function essb_buddypress_activate() { if (essb_option_bool_value('buddypress_group')) { add_action ( 'bp_before_group_home_content', 'essb_buddypress_integration_group' ); } if (essb_option_bool_value('ithemes_before_desc')) { add_action ( 'bp_activity_entry_meta', 'essb_buddypress_integration_activity' ); } } }