Action
rpress_settings_tab_top_{$active_tab}_{$section}
Fires at the top of one section of a settings tab, before its fields.
Runs inside the settings form before the fields of the given tab and section. The dynamic parts are the tab ID and section ID, for example gateways_main. Echo markup directly.
Example#
function my_gateways_main_top() {
echo '<div class="notice notice-info inline"><p>' . esc_html__( 'Enable at least one gateway.', 'my-plugin' ) . '</p></div>';
}
add_action( 'rpress_settings_tab_top_gateways_main', 'my_gateways_main_top' );
Source#
Fired from:
includes/admin/settings/display-settings.php(line 126), inrpress_options_page()
See also#
rpress_settings_tab_toprpress_settings_tab_bottom_%7B%24active_tab%7D_%7B%24section%7D
Was this page helpful?
