Action
rpress_after_order_history
On this page
Fires after the customer's order history list is output.
Runs after the order history container, including the infinite-load wrapper, when the customer has orders.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$payments | array | Orders returned by rpress_get_users_orders() for the current user. |
Example#
add_action( 'rpress_after_order_history', 'my_after_order_history' );
function my_after_order_history( $payments ) {
echo '<p>' . esc_html__( 'Showing your most recent orders.', 'my-textdomain' ) . '</p>';
}
Source#
Fired from:
templates/history-purchases.php(line 142)
See also#
Was this page helpful?
