define $transients_to_clear
This commit is contained in:
parent
615ebc3916
commit
8c3d142002
|
@ -522,7 +522,8 @@ function wc_processing_order_count() {
|
|||
* @param int $post_id (default: 0)
|
||||
*/
|
||||
function wc_delete_shop_order_transients( $post_id = 0 ) {
|
||||
$post_id = absint( $post_id );
|
||||
$post_id = absint( $post_id );
|
||||
$transients_to_clear = array();
|
||||
|
||||
// Clear report transients
|
||||
$reports = WC_Admin_Reports::get_reports();
|
||||
|
|
Loading…
Reference in New Issue