define $transients_to_clear

This commit is contained in:
Mike Jolley 2014-10-07 11:01:22 +01:00
parent 615ebc3916
commit 8c3d142002
1 changed files with 2 additions and 1 deletions

View File

@ -523,6 +523,7 @@ function wc_processing_order_count() {
*/
function wc_delete_shop_order_transients( $post_id = 0 ) {
$post_id = absint( $post_id );
$transients_to_clear = array();
// Clear report transients
$reports = WC_Admin_Reports::get_reports();