WordPress.org

Support

Support » How-To and Troubleshooting » How to mysql query `$wpdb->get_var` `bp_groups` in buddypress?

How to mysql query `$wpdb->get_var` `bp_groups` in buddypress?

  • youlichika
    Member

    @youlichika

    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?

  • The topic ‘How to mysql query `$wpdb->get_var` `bp_groups` in buddypress?’ is closed to new replies.