apply_filters ( 'earn_get_user_subscriptions_for_site_id', array $subscriptions, int $user_id, int $site_id )

Filter the subscriptions attached to a specific user on a given site.

Source file: extensions/blocks/premium-content/_inc/subscription-service/class-token-subscription-service.php

View in GitHub

Parameters

$subscriptions

(array) Array of subscriptions.

$user_id

(int) The user’s ID.

$site_id

(int) ID of the current site.


Changelog

Since: Jetpack 9.4.0


Notes

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s