WordPress filter hook

elementor/element/should_render_shortcode

Defined by Elementor Agent Ready Website Builder and fired by 6 plugins in total, running on 10.1M+ sites between them.

“Elementor's own filter: whether element caching is active at all. Read here exactly as the parent method reads it, minus the per-widget override.”

How to use elementor/element/should_render_shortcode

It's a filter: your callback receives the value, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'elementor/element/should_render_shortcode', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Argument names come from Elementor Agent Ready Website Builder's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

6 plugins that fire elementor/element/should_render_shortcode

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Elementor Agent Ready Website Builder icon Elementor Agent Ready Website Builder10+ million installs apply_filters( 'elementor/element/should_render_shortcode', false ) includes/base/element-base.php:587
  2. Jupiter X Core icon Jupiter X Core70,000+ installs apply_filters( 'elementor/element/should_render_shortcode', false ) includes/extensions/raven/includes/modules/global-widget/widgets/global-widget.php:100
  3. Easy Zillow Reviews icon Easy Zillow Reviews70+ installs apply_filters( 'elementor/element/should_render_shortcode', false ) elementor/class-easy-zillow-reviews-elementor-widget.php:86
  4. NeoGrow: Loyalty Points, Rewards Program & Photo Reviews for WooCommerce icon NeoGrow: Loyalty Points, Rewards Program & Photo Reviews for WooCommerceFewer than 10 installs apply_filters( 'elementor/element/should_render_shortcode', false ) src/Integrations/Elementor/Widgets/Base.php:80
  5. Translate WordPress Without Yearly Fees icon Translate WordPress Without Yearly FeesFewer than 10 installs apply_filters( 'elementor/element/should_render_shortcode', false ) includes/class-elementor-compat.php:286
  6. MHM Rentiva icon MHM RentivaFewer than 10 installs apply_filters( 'elementor/element/should_render_shortcode', false ) src/Admin/Frontend/Widgets/Base/ElementorWidgetBase.php:114

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.