Skip to content
Docs
Get RestroPress

Action

rpress_discounts_page_bottom

Updated
On this page

Fires at the bottom of the Discount Codes list screen, after the table form.

Runs after the discount codes table form has been printed. Use it to print content below the list. The action receives no arguments.

Example#

function my_discounts_page_bottom() {
	echo '<p class="description">' . esc_html__( 'Use the Status column to see which codes are active.', 'my-plugin' ) . '</p>';
}
add_action( 'rpress_discounts_page_bottom', 'my_discounts_page_bottom' );

Source#

Fired from:

  • includes/admin/discounts/discount-codes.php (line 85), in rpress_discounts_page()

See also#

Was this page helpful?