Skip to content

Feature request: Add your own hooksΒ #4

@soderlind

Description

@soderlind

It would be very nice if I could add my own hooks, i.e:

  • Generate hooks using your wp-hooks-generator
  • Point to the hooks using vscode preferences, and add support for per workspace eg:
{
    "wordpress-hooks.core" : 1,
    "wordpress-hooks.local-actions": "${workspaceFolder}/hooks/actions.json",
    "wordpress-hooks.local-filters": "${workspaceFolder}/hooks/filters.json"
}

re wordpress-hooks.core, if (when) you're adding this option, it might be nice to be able to disable core hooks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions