This filter is applied to use the payment number, it is including two parameters.
$number -> is a function used to get the number.
$ID -> is used to get id.
function get_payment_number() { //its return the payment number. return $number; } add_filter( 'rpress_payment_number', 'get_payment_number',10,2 );