Skip to content
Docs
Get RestroPress

Action

rpress_after_order_history

Updated
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#

ParameterTypeDescription
$paymentsarrayOrders 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?