This action will be executed after a membership plan has been deleted.
Hook Name: arm_deleted_subscription_plan
Hook Type: Action
Usage:
add_action( 'arm_deleted_subscription_plan', 'your_function', 10, 2);
function your_function($plan_id, $plan_data) {
//Do Your Action
//$plan_id Deleted Plan ID.
//$plan_data Deleted Plan Details.
}
Parameters:
$plan_id
Deleted Plan ID
$plan_data
Deleted Plan Details