Skip to content

Hooks at category insert,edit. #1844

@maddrid

Description

@maddrid

We have osc_run_hook('delete_category', $pk); on category delete.
We need also when we insert , update (edit)category !
osc_run_hook('add_category',$category_id);
osc_run_hook('update_category',$pk);
This will allow plugins to hook into creation of categories , not only on existing categories !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions