rpress_user_can_view_receipt_item

Author: RestroPress 46 views

The rpress_user_can_view_receipt_item filter enables the user to view the receipt item. It receives one parameter.
$item -> is containing cart item.

add_filter( 'rpress_user_can_view_receipt_item', true, $item );

function rpress_user_can_view_receipt_item_callback( true, $item ) {

 

return ;

}

add_filter( ‘ rpress_user_can_view_receipt_item’, ‘rpress_user_can_view_receipt_item_callback’, 10, 2 );