Filter the subscriptions attached to a specific user on a given site.
Parameters
- $subscriptions
array Array of subscriptions.
- $user_id
int The user's ID.
- $site_id
int ID of the current site.
Changelog
- Introduced in Jetpack 9.4.0
earn_get_user_subscriptions_for_site_idFilter the subscriptions attached to a specific user on a given site.
arrayArray of subscriptions.
intThe user's ID.
intID of the current site.