Run code after all membership level changes have occured. Users who have had changes will be stored in the global $pmpro_old_user_levels array.


do_action( 'pmpro_after_all_membership_level_changes', $pmpro_old_user_levels_copy );

Parameters

$pmpro_old_user_levels_copy
Array of user_id => array( old_level_objs )

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/functions.php

View in Source Code