clearPrimary( )


Sets all pricing plans as not primary.

The clearPrimary() function returns a Promise that resolves when no pricing plan is marked as a primary plan.

After clearing the primary plan, when viewing pricing plans on the site, no plan is highlighted with a customizable ribbon.

Only users with "Manage Pricing Plans" permissions can clear the primary plan.

Method Declaration
Copy
Request
This method does not take any parameters
Was this helpful?
Yes
No