onPlanArchived( )


An event that triggers when a pricing plan is archived.

The onPlanArchived() event handler runs when a pricing plan is archived. The received PlanArchivedEvent object contains information about the pricing plan that was archived.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventPlanArchivedEventRequired

Information about the pricing plan that was archived and metadata for the event.

Did this help?