AssignDefaultCategory::schedule_action()

Method: When a product category is deleted, we need to check if the product has no categories assigned. Then assign it a default category. We delay this with a scheduled action job to not block the response.

Source: src/Internal/AssignDefaultCategory.php:31

Used by 0 functions | Uses 1 function