Action
rpress_payments_contextual_help
On this page
Fires on the Orders admin page so extensions can add contextual help.
Runs on the load hook for the Orders screen after confirming the current screen is restropress_page_rpress-payment-history. Add help tabs to the passed screen object.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$screen | WP_Screen | The current admin screen object. |
Example#
function my_orders_help( $screen ) {
$screen->add_help_tab( array(
'id' => 'my-orders-help',
'title' => esc_html__( 'My Orders Help', 'my-plugin' ),
'content' => '<p>' . esc_html__( 'Extra help for orders.', 'my-plugin' ) . '</p>',
) );
}
add_action( 'rpress_payments_contextual_help', 'my_orders_help' );
Source#
Fired from:
includes/admin/payments/contextual-help.php(line 25), inrpress_payments_contextual_help()
Was this page helpful?
