With the increasing popularity of blocks, developers and store owners alike have been finding some templating features missing normally available through the use of PHP and WordPress Hooks.
The WordPress community is hard at work to create the extensibility tools and framework that exists in PHP into javascript, but some of the tools are not quite there!
This plugin creates a couple new shortcodes to help bridge the gap temporarily, as well as help users/admins with “templating” without going into your theme or plugins.
The first shortcode is in relation to WordPress Actions and aptly follows the parameter naming convention.
[action_runner_trs name="woocommerce_before_cart"]
The second shortcode, in relation to WordPress Filters
[filter_runner_trs name="woocommerce_shipping_estimate_html" content="Shipping options will be updated during checkout."]
There are serious limitations these shortcodes have to offer users. The functions do_action() and apply_filters() can have complex code attached to them, and may rely on global variables that are typically accessible on pages the Hooks have existed on.
The code is written in a way that even in the block editor, the shortcodes will not attempt to execute in the administrative side of your website. This is especially notable as the Block Editor attempts to render the code of a shortcode as a preview and writing in the database as post_content.
We recommend users to put this plugin on a staging server and do a test of the specific Hooks you would like to use on the applicable page(s) as to not break any user experiences.
Originally designed to work with the WooCommerce Blocks Cart and Checkout pages, we needed to enable users to have the message that notified users can apply their Points and Rewards,
it also works with plugins that hook into upsell actions or couponing like Pretty Coupons, Smart Coupon, or even your own custom action, which can be created on the fly!
This plugin pairs nicely with getting custom solutions to your front end quickly for testing or quick notices on your website, especially when using a snippets plugin.
Starting from $0 per month.
Rating
Reviewers
No reviews
Tags
Developed By
The Rite Sites
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Revolutionize form creation effortlessly
Boost Sales by Enhancing Credibility and Trustworthiness
Showcase Bluesky Posts in a Dynamic and Engaging Slider
Use Messenger Chat To Communicate, Support & Improve User Experience
Keep Users Up to Date & Improve Their Experience
Seamless Podcast Integration for Engaging Website Experiences
Improve Trust & Credibility With the Team Member Flip Cards App
Display Bluesky Posts in a Stylish and Interactive Carousel
Elevate Your Online Showcase: Intuitive Catalog Management Made Simple
Create Stunning Instagram Feeds & Improve User Experience
Increase Trust & Improve Credibility To Drive Sales Up
Create Interactive, Customizable Maps for Engaging Data Visualization
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!