Skip to content
Docs
Get RestroPress

Action

rpress_export_import_top

Updated
On this page

Fires at the top of the Export / Import Settings admin page.

Runs inside the page's metabox holder, before the Export Settings box. Output additional postboxes or notices here.

Example#

function my_export_import_top() {
	echo '<div class="notice notice-info inline"><p>' . esc_html__( 'Back up your site before importing.', 'my-plugin' ) . '</p></div>';
}
add_action( 'rpress_export_import_top', 'my_export_import_top' );

Notes#

No arguments are passed.

Source#

Fired from:

  • includes/admin/import-export.php (line 18), in rpress_export_import()

See also#

Was this page helpful?