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.
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.