process_export_import_content( $content, 'on_import' ); update_metadata( 'post', $step_id, '_elementor_data', $content ); $this->clear_cache(); } } /** * Clear cache */ public function clear_cache() { // Clear 'Elementor' file cache. if ( class_exists( '\Elementor\Plugin' ) ) { \Elementor\Plugin::$instance->files_manager->clear_cache(); } } }