Filters where a feature’s upgrade and manage links go, so a host can send them to its own plans. Set `url` to an absolute address to replace the My Jetpack route, which also drops the Jetpack plans the feature’s details would otherwise link to; it is ignored when `$site_has_feature`. Set `manage_url` to where a site that has the feature manages it, read only when `$site_has_feature`.
Parameters
- $upgrade
array `path` (a My Jetpack route) and `name` (the product sold), both empty when nothing is, and `back_url`, the admin page the link is on, for a host flow to return to.
- $slug
string The My Jetpack feature slug.
- $site_has_feature
bool Whether the site already has the feature.
Changelog
- Introduced in Jetpack 6.14.0