• Resolved danyaproger

    (@danyaproger)


    Hello. Thanks for great plugin! I am trying to localize subscription plan names. I use Polylang (pll_register_string) and I need the way to hook a subscription plan retreiving. I found a filter “pms_get_subscription_plans”, but unfortunately “pms_get_subscription_plan” hook is absent. Could you add filter hook? Something like:

    
        function pms_get_subscription_plan( $id_or_post ) {
            $subscription_plan = new PMS_Subscription_Plan( $id_or_post );
            return apply_filters( 'pms_get_subscription_plan', $subscription_plan, $id_or_post );
        }
    
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Add pms_get_subscription_plan filter’ is closed to new replies.