mycred_em_approve_on_pay

Codex / mycred/payment / Filters / mycred_em_approve_on_pay

Description

When using Events Manager, you can select if bookings should be approved on payment or if admin approval is required. In case you select admin approval, you can use this filter to override this and approve the booking when paid using points.

Available since version 1.5

Parameters

Param Type Required Description
$override bool Yes

Should return TRUE if the event should be approved or FALSE if not.

$booking obj No

The event booking object.

$gateway obj No

The myCRED Gateway object class.

Used By

Package Prio. Description
Not used by any built-in package.

Last edited June 24, 2016