Filter the next payment date for a given user.


apply_filters( 'pmpro_next_payment', mixed $r, int $user_id, string $order_status );

Parameters

$r
mixed; false or the next payment date timestamp
$user_id
int; The user id to get the next payment date for
$order_status
string; Status or array of statuses to find the last order based on.

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/functions.php

View in Source Code