You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would quite like for the extension to auto-detect the existence of ${workspaceFolder}/hooks/(actions|filters).json files, and prompt the user to use them for autocompletion if they exist.
If the user chooses Yes then the extension adds the paths to a setting stored in the workspace config which is an array that lists the paths of files to use for actions and filters.
If the user chooses No, it adds the same paths to the same config but with a value of false so the user isn't prompted again and the paths aren't used.
The setting to use the core actions and filters can just be a manual one for now.
I've no idea if extensions can write to settings, I'll investigate.
It would be very nice if I could add my own hooks, i.e:
re
wordpress-hooks.core
, if (when) you're adding this option, it might be nice to be able to disable core hooksThe text was updated successfully, but these errors were encountered: