APP_Listing_Plans_Registry::_get_last_plan_type( int $item_id, APP_Order $order = null )

Retrieves plan type associated with a listing item or order.


Package


Description Description


Parameters Parameters

$item_id

(int) (Required) Listing Item ID.

$order

(APP_Order) (Optional) Order object. Helps to find plan added to order as item.

Default value: null


Top ↑

Return Return

(string) The plan object type if it exists.


Premium WordPress Apps

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.