Jump to content

Info please


ZeroX42

Recommended Posts

The file /modules/plugins/hooks.xml is informational. It is used to populate a drop-down selector when creating a Code Snippet.

The plugin's folder will have a sub-folder named /hooks/. Each script file will be named the name of the hook trigger with a .php filename extension.

The plugin will have a file named config.xml that lists all the hooks in the /hooks/ folder.

With these two considerations, it's all automatic. The plugin's hook scripts will be imported into the appropriate calling script.

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...