Skip to content

Commit

Permalink
Using the new third force param introduced in 2.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ideadude committed May 6, 2020
1 parent ea7e727 commit 7bdf753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pmpro-network-subsite.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit 7bdf753

Please sign in to comment.