Skip to content
Docs
Get RestroPress

Action

rpress_view_order_details_billing_before

Updated
On this page

Fires after the payment details box and before the billing section of the order details screen.

Runs between the payment information and the billing details section. It fires whether or not billing fields are enabled.

Parameters#

ParameterTypeDescription
$payment_idintThe order (payment) ID.

Example#

function my_billing_before( $payment_id ) {
	echo '<p class="description">' . esc_html__( 'Billing details below.', 'my-plugin' ) . '</p>';
}
add_action( 'rpress_view_order_details_billing_before', 'my_billing_before' );

Source#

Fired from:

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

See also#

Was this page helpful?