Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Action Runner by The Rite Sites

Описание

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.

Установка

  1. Upload action-runner-by-the-rite-sites to the /wp-content/plugins/ directory or download the zip directly from the plugin directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Отзывы

Нет отзывов об этом плагине.

Участники и разработчики

«Action Runner by The Rite Sites» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Action Runner by The Rite Sites» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.0.0

  • Initial release