apply_filters( 'llms_untrash_order_status', string $new_status , int $post_id , string $previous_status )
Filters the status that an order post gets assigned when it is restored from the trash.
Description Description
This is a filter nearly identical to wp_untrash_post_status
applied specifically to llms_order
posts.
Parameters Parameters
- $new_status
-
(string) The new status of the post being restored.
- $post_id
-
(int) The ID of the post being restored.
- $previous_status
-
(string) The status of the post at the point where it was trashed.
Source Source
Changelog Changelog
Version | Description |
---|---|
7.0.0 | Introduced. |