WordPress action hook

elementor/atomic-widgets/styles/clear

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

How to use elementor/atomic-widgets/styles/clear

It's an action: your callback runs at that point and receives 1 argument. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'elementor/atomic-widgets/styles/clear', function( $arg1 ) {
	// Your code runs here.
}, 10, 1 );

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

14 plugins that fire elementor/atomic-widgets/styles/clear

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 do_action( 'elementor/atomic-widgets/styles/clear', [ self::STYLES_KEY ] ) modules/atomic-widgets/styles/atomic-widget-base-styles.php:34
  2. ShopLentor icon ShopLentor80,000+ installs do_action( 'elementor/atomic-widgets/styles/clear', [ 'local', $post_id ] ) includes/manage_wc_template.php:592
  3. Animation Addons for Elementor icon Animation Addons for Elementor10,000+ installs do_action( 'elementor/atomic-widgets/styles/clear', [ self::STYLES_KEY ] ) inc/Atomic/StyleManager/Manager.php:42
  4. Royal MCP icon Royal MCP10,000+ installs do_action( 'elementor/atomic-widgets/styles/clear', [ 'local', $post_id ] ) includes/Integrations/Elementor_Atomic.php:255
  5. News Kit Addons For Elementor icon News Kit Addons For Elementor3,000+ installs do_action( 'elementor/atomic-widgets/styles/clear', [ 'base' ] ) news-kit-elementor-addons.php:179
  6. EMCP Tools icon EMCP Tools400+ installs do_action( 'elementor/atomic-widgets/styles/clear', array( 'local', $post_id ) ) includes/abilities/class-page-abilities.php:150
  7. Fleet Agent Site Manager icon Fleet Agent Site Manager200+ installs do_action( 'elementor/atomic-widgets/styles/clear', [self::STYLES_KEY_LOCAL, $postId] ) includes/abilities/builders/class-elementor-adapter.php:442
  8. IATO MCP icon IATO MCP200+ installs do_action( 'elementor/atomic-widgets/styles/clear', [ 'local', $post_id ] ) includes/class-elementor-adapter.php:1729
  9. AlphaBridge MCP icon AlphaBridge MCP100+ installs do_action( 'elementor/atomic-widgets/styles/clear', array( self::elementor_constant( 'Elementor\\Modules\\AtomicWidgets\\Styles\\Atomic_Widget_Styles::STYLES_KEY', 'local' ), $post_id ) ) includes/builders/write/class-builder-caches.php:94
  10. Smart MCP icon Smart MCP10+ installs do_action( 'elementor/atomic-widgets/styles/clear', array( 'local', (int) $post_id ) ) includes/services/class-elementor-sanitizer.php:91
  11. WPGraft icon WPGraft10+ installs do_action( 'elementor/atomic-widgets/styles/clear', array( 'local', $post_id ) ) includes/save-elementor.php:2132
  12. Atomic Studio icon Atomic Studio10+ installs do_action( 'elementor/atomic-widgets/styles/clear', [ 'local', $post_id ] ) src/engine/src/abilities/services/post-style-cache.php:20
  13. Fine MCP icon Fine MCPFewer than 10 installs do_action( 'elementor/atomic-widgets/styles/clear', ['local', $post_id] ) includes/abilities/elementor/helpers/flavors-page-io.php:337
  14. Scayla Connect icon Scayla ConnectFewer than 10 installs do_action( 'elementor/atomic-widgets/styles/clear', array( 'local', (int) $post_id ) ) includes/class-scayla-elementor.php:831

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.