Action
rpress_settings_after_form_{$active_tab}_{$section}
Fires after the settings form of a tab section, outside the form element.
Runs after the closing form tag of the settings screen, inside the settings panel. Use it for panels that have their own form, since forms cannot be nested and a nested form would be posted with the settings save. The dynamic parts are the tab ID and section ID.
Example#
function my_gateways_after_form() {
echo '<form method="post"><input type="submit" class="button" value="' . esc_attr__( 'Run connection test', 'my-plugin' ) . '" /></form>';
}
add_action( 'rpress_settings_after_form_gateways_main', 'my_gateways_after_form' );
Source#
Fired from:
includes/admin/settings/display-settings.php(line 143), inrpress_options_page()
Was this page helpful?
