diff --git a/pmpro-network-subsite.php b/pmpro-network-subsite.php index b6e5dc5..9b094fa 100644 --- a/pmpro-network-subsite.php +++ b/pmpro-network-subsite.php @@ -75,7 +75,7 @@ function pmpro_multisite_membership_activated_plugin() { // get levels again function pmpro_multisite_membership_init_get_levels() { global $wpdb, $membership_levels; - $membership_levels = $wpdb->get_results( "SELECT * FROM {$wpdb->pmpro_membership_levels}", OBJECT ); + $membership_levels = pmpro_getAllLevels( true, true, true ); } add_action( 'init', 'pmpro_multisite_membership_init_get_levels', 1 );