This hook will allow you to easily create shortcode projects for easy use in info_pages.
For example, you can create a shortcode of:
[mycoolcode title="My Cool Project" products_id="123" button_class="btn-danger" text="This is an example"]
And then add a file:
includes/hooks/shop/siteWide/shortcodes/mycoolcode.php
An array of $shortcode['params'] will be passed to the mycoolcode.php file and you can code accordingly to replace the original:
[mycoolcode title="My Cool Project" products_id="123" button_class="btn-danger" text="This is an example"]
with whatever the params and your imagination can think of.
I am planning on building some cool modules that use this for integration, I thought I would share and see what others come up with.
Have Fun!
Phoenix is free. Building it isn't.Behind every release are hosting, infrastructure, testing, security work and countless unpaid hours that most people never see. Every donation goes into the Phoenix Cart fund, keeping the project independent, maintained and moving forward.
Secure payment via PayPal. Thank you for keeping Phoenix alive.