Plan usage and upgrade
upgradeShow your current Misar.Blog plan, how much of each quota you have left, and what upgrading unlocks, with the link to upgrade. Call it any time — not only after hitting a limit. By default it only reads. With start_trial=true it starts the free, no-card trial on the account (a plan change; no payment is taken). It never upgrades a paid plan or takes payment itself: the user does that by following the link. On a local install, open=true also opens that link in the user's browser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| open | No | Local installs only: also open the upgrade link in the user's browser. Ignored by the hosted server, which returns the link instead. | |
| plan | No | Plan slug to open (e.g. 'pro', 'business'). Defaults to the recommended plan. | |
| start_trial | No | Start the free no-card trial immediately, if you're eligible. |