Skip to content
Docs
Get RestroPress

Action

rpress_tools_banned_emails_before

Updated
On this page

Fires before the Blocked Emails & Domains panel is displayed.

Runs at the start of the Blocked Emails & Domains panel on the Customer & Access tab of the Tools page, after the capability check has passed. Use it to print notices or extra markup above the panel.

Example#

function my_before_banned_emails() {
	echo '<p>' . esc_html__( 'Blocked addresses are checked at checkout.', 'my-plugin' ) . '</p>';
}
add_action( 'rpress_tools_banned_emails_before', 'my_before_banned_emails' );

Source#

Fired from:

  • includes/admin/tools.php (line 287), in rpress_tools_banned_emails_display()

See also#

Was this page helpful?