osama B.
osama B.

Reputation: 55

How to do an action when a user click Elementor update button?

I am loading Elementor post inside iframe I want to close this iframe when the user click update in Elementor

I am look for any Elementor JS hook that i can hook when the user click update button

Thanks

Upvotes: 1

Views: 708

Answers (1)

Harit Panchal
Harit Panchal

Reputation: 455

You can use this hook

add_action( 'elementor/editor/after_save', 'log_saved_elementor_data' );

Elementor has a hook that lets developers run code after the user has saved data in the editor.

Find more here

Upvotes: 1

Related Questions