arrangePlans( )


Changes the display order of the pricing plans on the site page and in the Dashboard.

The arrangePlans() function returns a Promise that resolves when the plans are rearranged on the site page and in the Dashboard.

To rearrange the order of the plans, provide a list of IDs for all non-archived plans in the desired order, including hidden plans.

Only users with "Manage Pricing Plans" permissions can arrange plans.

Note: Make sure to provide all non-archived plan IDs to avoid unpredictable results.

Method Declaration
Copy
Method Parameters
idsArray<string>Required

IDs of all non-archived plans in the order you want them arranged.

Was this helpful?
Yes
No