Action
rpress_import_undone
On this page
Fires when an import has been undone.
Runs once the undo process has completed and its summary has been logged.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$job_id | int | Import (job) ID. |
Example#
add_action( 'rpress_import_undone', 'my_import_undone', 10, 1 );
function my_import_undone( $job_id ) {
delete_transient( 'my_menu_cache' );
}
Source#
Fired from:
includes/features/importer/class-rpress-importer-engine.php(line 1547), inRPress_Importer_Engine::undo_step()
See also#
Was this page helpful?
