Reputation: 55
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
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