Q: I'm doing a few test syntax examples and see that you are able to generate some Wordpress, Woocommerce, and Woocommerce subscription syntax.

Cool!!

The Wordpress environment, along with the multitude of plugins, is heavily reliant on action hooks and filter hooks. Is there any way to generate syntax for those, or at a bare minimum include reference to all the various hooks available?

NormsIM6257PLUSApr 18, 2022
Founder Team
Shreyans_AskJarvis

Shreyans_AskJarvis

May 14, 2024

A: Hey,

Thanks for reaching out! I'd be happy to look into adding syntax for hooks; it's something we haven't done before, but we're definitely open to expanding on the types of the syntax that we generate. If you could send some examples over, I'll have a look and get back to you.

Hope this helps!

Share
Helpful?
Log in to join the conversation
Verified Purchaser badge

Verified purchaser

Posted: Apr 19, 2022

Thanks for the reply, Shreyans. Here's an article from treehouse on the subject of Wordpress hooks: https://blog.teamtreehouse.com/hooks-wordpress-actions-filters-examples

And here is a link to the updated WP Reference guide to their functions, hooks, methods, ...

The above reference is for the WP hooks, but nearly every plugin such as WooCommerce and WPFusion will have their functions and hooks also. I know it would be impossible to get all possible ones in, but it would be great to get some of the major ones.

It would also be cool if there was a way that we could 'scan' any WP plugin for all the functions and hooks defined within that plugin and get it added to a library that would integrate with Ask Jarvis. Maybe even a user-generated community library.

Thanks,
-Norm

Verified Purchaser badge

Verified purchaser

Posted: Apr 19, 2022

Opps! Forgot the link to the WP reference guide. Here it is: https://developer.wordpress.org/reference/

Founder
Verified Purchaser badge

Verified purchaser

Posted: Apr 20, 2022

Hello, thank you for the links, our team will have a look. You have some amazing ideas, please consider adding them to the roadmap at roadmap.askjarvis.io/ideas. It will help us access all the ideas in one place and you can explain in more detail what you are looking for.