Code Monkey home page Code Monkey logo

Comments (3)

zackkatz avatar zackkatz commented on July 18, 2024

Sorry, this was user error. There's a small issue where the template doesn't have support for showing apply_filters_ref_array() and do_action_ref_array() in title, but that's minor.

from wp-hookdoc.

matzeeable avatar matzeeable commented on July 18, 2024

Thanks for your notice. Yeah, currently the output only supports apply_filters instead of using the original callee (e.g. apply_filters_ref_array). Reopening, but I cannot promise any ETA. PRs welcome. 😊

from wp-hookdoc.

remcotolsma avatar remcotolsma commented on July 18, 2024

We at Pronamic were also looking for a way to document the WordPress filters and actions in our WordPress plugins, themes and libraries. In our search we came across a number of solutions, for our research see the following issue: pronamic/wp-pay-core#45. In the end we developed a solution ourselves: https://github.com/pronamic/wp-documentor. It can find all WordPress actions and filters in a codebase, including: apply_filters_ref_array filters. The result can be converted to a markdown file for in your Github repository or GitHub Pages. See for example: https://github.com/pronamic/wp-documentor/blob/main/tests/docs/hooks.md. Unfortunately there is not yet the possibility to generate a separate page for each hook like WordPress HookDoc does:

The advantages of https://github.com/pronamic/wp-documentor are that you do not have to add the @hook tag or put the types between curly brackets (for example:{int},{string}, etc.). But https://github.com/pronamic/wp-documentor will also have its limitations, maybe we can work together on a nice solution for generating hooks documentation. I will keep an eye on the developments of this project, thanks for the good work!

from wp-hookdoc.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.