RestroPress

⌘K
  1. Home
  2. Docs
  3. RestroPress
  4. Developer Docs
  5. Filters
  6. rpress_can_view_receipt

rpress_can_view_receipt

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 );

How can we help?