Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Deleting EE category group does not remove rows from exp_publisher_categories

Status Resolved
Add-on / Version Publisher 2.10.8
Severity
EE Version 5.1.3

BoldMinded (Brian)

Mar 21, 2019

Update after_category_delete hook to also delete rows from exp_publisher_categories

public function after_category_delete(Category $category)
    {
        ee()->load->model('publisher_category');
        ee()->publisher_category->delete_category_posts_by_category($category->getId());
    }

Login to reply