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:
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.
-
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 -
ShopLentor80,000+ installs
do_action( 'elementor/atomic-widgets/styles/clear', [ 'local', $post_id ] )includes/manage_wc_template.php:592 -
Animation Addons for Elementor10,000+ installs
do_action( 'elementor/atomic-widgets/styles/clear', [ self::STYLES_KEY ] )inc/Atomic/StyleManager/Manager.php:42 -
Royal MCP10,000+ installs
do_action( 'elementor/atomic-widgets/styles/clear', [ 'local', $post_id ] )includes/Integrations/Elementor_Atomic.php:255 -
News Kit Addons For Elementor3,000+ installs
do_action( 'elementor/atomic-widgets/styles/clear', [ 'base' ] )news-kit-elementor-addons.php:179 -
EMCP Tools400+ installs
do_action( 'elementor/atomic-widgets/styles/clear', array( 'local', $post_id ) )includes/abilities/class-page-abilities.php:150 -
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 -
IATO MCP200+ installs
do_action( 'elementor/atomic-widgets/styles/clear', [ 'local', $post_id ] )includes/class-elementor-adapter.php:1729 -
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 -
Smart MCP10+ installs
do_action( 'elementor/atomic-widgets/styles/clear', array( 'local', (int) $post_id ) )includes/services/class-elementor-sanitizer.php:91 -
WPGraft10+ installs
do_action( 'elementor/atomic-widgets/styles/clear', array( 'local', $post_id ) )includes/save-elementor.php:2132 -
Atomic Studio10+ installs
do_action( 'elementor/atomic-widgets/styles/clear', [ 'local', $post_id ] )src/engine/src/abilities/services/post-style-cache.php:20 -
Fine MCPFewer than 10 installs
do_action( 'elementor/atomic-widgets/styles/clear', ['local', $post_id] )includes/abilities/elementor/helpers/flavors-page-io.php:337 -
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.