Run an action after a membership level is created.


/**
 * Run an action after a membership level is created.
 *
 * @since 2.3.0
 *
 * @see PMPro_Membership_Level->save
 *
 * @param PMPro_Membership_Level $this Class reference.
 */
do_action( 'pmpro_added_membership_level', $this );

Parameters

$this
PMPro_Membership_Level

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/classes/class-pmpro-levels.php

View in Source Code