Title: Action Runner by The Rite Sites
Author: The Rite Sites
Published: <strong>25 de novembre de 2020</strong>
Last modified: 25 de novembre de 2020

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://ps.w.org/action-runner/assets/icon.svg?rev=2425895)

# Action Runner by The Rite Sites

 Per [The Rite Sites](https://profiles.wordpress.org/theritesites/)

[Baixa](https://downloads.wordpress.org/plugin/action-runner.zip)

 * [Detalls](https://ca.wordpress.org/plugins/action-runner/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/action-runner/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/action-runner/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/action-runner/#developers)

 [Suport](https://wordpress.org/support/plugin/action-runner/)

## Descripció

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](https://developer.wordpress.org/plugins/hooks/).
 The
WordPress community is [hard at work](https://www.npmjs.com/package/@wordpress/hooks)
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](https://developer.wordpress.org/plugins/hooks/actions/)
and aptly follows the parameter naming convention.

    ```
    [action_runner_trs name="woocommerce_before_cart"]
    ```

The second shortcode, in relation to [WordPress Filters](https://developer.wordpress.org/plugins/hooks/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](https://wordpress.org/plugins/woo-gutenberg-products-block/)
Cart and Checkout pages, we needed to enable users to have the message that notified
users can apply their [Points and Rewards](https://woocommerce.com/products/woocommerce-points-and-rewards/),

it also works with plugins that hook into upsell actions or couponing like [Pretty Coupons](https://www.theritesites.com/plugins/pretty-coupons-for-woocommerce/),
[Smart Coupon](https://woocommerce.com/products/smart-coupons/), 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.

## Instal·lació

 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

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Action Runner by The Rite Sites» és programari de codi obert. La següent gent ha
col·laborat en aquesta extensió.

Col·laboradors

 *   [ The Rite Sites ](https://profiles.wordpress.org/theritesites/)

[Traduïu «Action Runner by The Rite Sites» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/action-runner)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/action-runner/), 
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/action-runner/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/action-runner/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/action-runner/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.0.0

 * Initial release

## Meta

 *  Versió **1.0.0**
 *  Darrera actualització **fa 6 anys**
 *  Instal·lacions actives **Menys de 10**
 *  Versió del WordPress ** 4.0 o posterior **
 *  Provada fins a **5.6.17**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/action-runner/)
 * Etiquetes
 * [actions](https://ca.wordpress.org/plugins/tags/actions/)[filters](https://ca.wordpress.org/plugins/tags/filters/)
   [hooks](https://ca.wordpress.org/plugins/tags/hooks/)[templating](https://ca.wordpress.org/plugins/tags/templating/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/action-runner/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[Your review](https://wordpress.org/support/plugin/action-runner/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/action-runner/reviews/)

## Col·laboradors

 *   [ The Rite Sites ](https://profiles.wordpress.org/theritesites/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/action-runner/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](https://www.theritesites.com)