Hi Jerome,
While testing further, I noticed that the Serial Private Content plugin actually seems to already contain the basis for a kind of "subscription private content."
In the file serialprivatecontent.php, inside the onContentPrepare function (around line 170), there is a condition written as:
's.subscription_end_date = 0 OR s.subscription_end_date <= ' . time(),
From my tests, this comparison appears to cause the subscription check to fail. If it is adjusted to:
's.subscription_end_date = 0 OR s.subscription_end_date >= ' . time(),
then the content visibility correctly follows the user’s subscription status, meaning that the content is shown or hidden depending on whether the subscription is active and its end date is in the future.
Could you please confirm if my understanding is correct, or if I might be doing something wrong?