Skip to content
Docs
Get RestroPress

Action

rpress_settings_tab_bottom

Updated
On this page

Fires at the bottom of a settings tab for the main section, for backwards compatibility.

Runs inside the settings form after the section bottom action, only when the current section is main. The active tab ID is passed. Prefer the section-specific bottom action for new code.

Parameters#

ParameterTypeDescription
$active_tabstringThe ID of the active settings tab.

Example#

function my_settings_tab_bottom( $active_tab ) {
	if ( 'taxes' === $active_tab ) {
		echo '<p class="description">' . esc_html__( 'Check local tax rules.', 'my-plugin' ) . '</p>';
	}
}
add_action( 'rpress_settings_tab_bottom', 'my_settings_tab_bottom', 10, 1 );

Source#

Fired from:

  • includes/admin/settings/display-settings.php (line 131), in rpress_options_page()

See also#

Was this page helpful?