Action
rpress_import_finished
On this page
Fires when an import has finished.
Runs from the import step handler once the last batch is processed and the finish summary has been logged.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$job_id | int | Import (job) ID. |
Example#
add_action( 'rpress_import_finished', 'my_import_finished', 10, 1 );
function my_import_finished( $job_id ) {
delete_transient( 'my_menu_cache' );
}
Source#
Fired from:
includes/features/importer/class-rpress-importer-engine.php(line 747), inRPress_Importer_Engine::run_step()
See also#
Was this page helpful?
