Created
May 18, 2023 13:55
-
-
Save ayanes821028/7391e9770f566e9a77fdc90f636a179e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global $pmprosm_sponsored_account_levels; | |
$pmprosm_sponsored_account_levels = [ | |
//set 5 seats at checkout | |
4 => [ | |
'main_level_id' => 4, //redundant but useful | |
'sponsored_level_id' => [4], //array or single id | |
'sponsored_accounts_at_checkout' => TRUE, | |
'seat_cost' => 0, | |
'max_seats' => 4, | |
'min_seats' => 4, | |
'children_hide_password' => TRUE, | |
'allow_empty_children' => TRUE, | |
'seat_cost_text' => '', | |
], | |
7 => [ | |
'main_level_id' => 7, //redundant but useful | |
'sponsored_level_id' => [7], //array or single id | |
'sponsored_accounts_at_checkout' => TRUE, | |
'seat_cost' => 0, | |
'max_seats' => 4, | |
'min_seats' => 4, | |
'children_hide_password' => TRUE, | |
'allow_empty_children' => TRUE, | |
'seat_cost_text' => '', | |
], | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment