Skip to content

Restructure hooks to use a hook manager rather than directly hooking  #40

@idmontie

Description

@idmontie

From @poiuyqwert:

What really needs to be added to GPTP is a centralized hook manager, so that more than one plugin can use the same hooks without interfering. The general concept is that when a user goes to make a hook to their function through the hook manager, instead of adding the hook to that function, it would add the function pointer into an array and actually hook to a function on the manager which would call all the functions in that array.

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