• I am trying to customize the appearance of the plugin by writing my own extension plugin. Thanks to your examples I managed to understand how most of this works. I found the collection of hooks and parameters on the Help page, which was a great starting point.

    The deeper I got into it, the more I have the feeling, that this overview is not quite complete. E.g. for the linked questions I only have a very limited set of parameters and cannot use the question or the answer itself in my custom template.

    Are these actually all the possibilities or is there any way to find out how to use more or other parameters with the hooks? Maybe by looking into the source code of the plugin or something.

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Plugin Author AntoineH

    (@antoineh)

    Hi, the overview is indeed not complete. Over time the amount of filters and actions grew to a considerable amount, and also the possibilities that they offer. Keeping track of all these options and keeping a documentation up to date would take too much time for me. The target audience is also relatively small; there are not a lot of people actively extending my plugin ??

    If you would like to extend the plugin, then you basically can only look at examples or the plugin code. Searching for apply_filters or do_action in the source code will find all extension hooks. The name of the hook, and surrounding code or comments should tell a lot about the hook can do. Another approach could be to search for the code that is responsible for the part of the plugin that you want to change (e.g. a template) and then see if there is a hook that you can use.

    If you would like to learn more about the parameters, you can write a simple extension that only outputs the supplied parameters to learn more on the content of the variable that is passed to the callback.

    I hope this helps a bit.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.