File: bp-search/classes/class-bp-search-activities.php |
Description |
---|---|
Bp_Search_Activities::instance() |
Insures that only one instance of Class exists in memory at any one time. Also prevents needing to define globals all over the place. |
Bp_Search_Activities::__construct() |
A dummy constructor to prevent this class from being loaded more than once. |
Bp_Search_Activities::sql() | |
Bp_Search_Activities_sql |
SELECT DISTINCT a.id FROM wp_bp_activity a WHERE a.is_spam = 0 AND a.content LIKE ‘%nothing%’ AND a.hide_sitewide = 0 AND a.type NOT IN (‘activity_comment’, ‘last_activity’) |
Bp_Search_Activities::generate_html() | |
Bp_Search_Activities |
BuddyPress Global Search – search activities class |