do_action( "lifterlms_{$post_type}_status_{$new_status}", LLMS_Order|LLMS_Transaction $object, string $old_status, string $new_status )

Fired when a LifterLMS order or transaction changes status.


Description Description

The first dynamic portion of this hook, $post_type, refers to the unprefixed object post type (‘order|transaction’). The second dynamic portion of this hook, $new_status, refers to the new object status.


Top ↑

Parameters Parameters

$object

(LLMS_Order|LLMS_Transaction) The LifterLMS order or transaction instance.

$old_status

(string) The previous order or transaction status.

$new_status

(string) The new order or transaction status.


Top ↑

Source Source

File: includes/controllers/class.llms.controller.orders.php

View on GitHub



Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.