Category

School Awards

function mepr_popup_logged_in() { return is_user_logged_in(); } add_filter('pum_get_conditions', function($conditions) { return array_merge($conditions, array( 'popup_logged_in' => array( 'group' => __( 'General' ), 'name' => __( 'Is Logged In' ), 'callback' => 'mepr_popup_logged_in' ) )); });