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.


Top ↑

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.


Top ↑

Source Source

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

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
7.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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