Skip to content
Docs
Get RestroPress

Action

rpress_tools_clear_doing_upgrade_after

Updated
On this page

Fires after the Clear Incomplete Upgrade Notice panel is displayed.

Runs after the panel markup on the Data Repair tab, only while the rpress_doing_upgrade option exists. Use it to print content below the panel.

Example#

function my_after_clear_upgrade() {
	echo '<p class="description">' . esc_html__( 'Clearing the notice does not roll back an upgrade.', 'my-plugin' ) . '</p>';
}
add_action( 'rpress_tools_clear_doing_upgrade_after', 'my_after_clear_upgrade' );

Source#

Fired from:

  • includes/admin/tools.php (line 434), in rpress_tools_clear_doing_upgrade_display()

See also#

Was this page helpful?