Everything else in a WordPress install is a post, so the first instinct with a BuddyPress group is a WP_Query against some post type. There is not one.…
Calling wp_enqueue_script() from inside a template survives review because it appears to work. By the time a template file runs, wp_head has already fired, so the handle is…
Every option row marked autoload = yes is fetched on every single request, as one query that loads the lot into memory. add_option() takes an argument to opt…