Skip to content
Docs
Get RestroPress

Action

rpress_view_order_details_logs_inner

Updated
On this page

Fires at the end of the order logs box on the order details screen.

Runs after the "View all orders for this customer" link inside the order logs box in the sidebar. Output extra log links or information here.

Parameters#

ParameterTypeDescription
$payment_idintThe order (payment) ID.

Example#

function my_order_logs_inner( $payment_id ) {
	echo '<p>' . esc_html( sprintf( 'Order ID: %d', $payment_id ) ) . '</p>';
}
add_action( 'rpress_view_order_details_logs_inner', 'my_order_logs_inner' );

Source#

Fired from:

  • includes/admin/payments/view-order-details.php (line 825)

See also#

Was this page helpful?