[ad_1]
Hi,
Evolution request.
Is it possible to add a filter on the “get_formatted_expiration_date” method of the “ProfilePress\Core\Membership\Models\Subscription\SubscriptionEntity” class?
public function get_formatted_expiration_date()
{
$date = esc_html__('Lifetime', 'wp-user-avatar');
if ( ! $this->is_lifetime()) {
$date = ppress_format_date($this->expiration_date);
}
$date = apply_filters('ppress_formatted_expiration_date', $date, $this );
return $date;
}THANKS.
