WC_Post_Data::wp_untrash_post_status()
Method: Ensure statuses are correctly reassigned when restoring orders and products.
Source: includes/class-wc-post-data.php:513
Method: Ensure statuses are correctly reassigned when restoring orders and products.
Source: includes/class-wc-post-data.php:513
Filter Hook: Filter to prevent variations from being deleted while switching from a variable product type to a variable product type.
Source: includes/class-wc-post-data.php:142
Method: Ensure default category gets set.
Source: includes/class-wc-post-data.php:494
Method: When setting stock level, ensure the stock status is kept in sync.
Source: includes/class-wc-post-data.php:532
Method: Update changed downloads.
Source: includes/class-wc-post-data.php:542
Method: Delete transients when terms are set.
Source: includes/class-wc-post-data.php:557
Method: Change embed data for certain post types.
Source: includes/class-wc-post-data.php:286
Method: Removes variations etc belonging to a deleted post, and clears transients.
Source: includes/class-wc-post-data.php:298
Method: Trash post.
Source: includes/class-wc-post-data.php:340
Method: Untrash post.
Source: includes/class-wc-post-data.php:371