WordPress.org

Ready to get started?Download WordPress

Forums

How to mysql query `$wpdb->get_var` `bp_groups` in buddypress? (1 post)

  1. youlichika
    Member
    Posted 3 years ago #

    I know that $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->users;"); can select wordpress user by mysql, but when I call a buddypress group, it failed, nothing return $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->bp_groups;"); Is there anyone know how to?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags