rpress_can_view_receipt

Author: RestroPress 17 views

The rpress_can_view_receipt filter is applied to use the receipt is visible or not. It receives two parameters:
$return -> is containing boolean.
$payment_key -> is containing payment key.

add_filter( ‘rpress_can_view_receipt’, $return, $payment_key );