• Resolved valousal

    (@valentinanamorphik)


    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.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Evolution request #5 : Add a filter on the method’ is closed to new replies.