rcp_get_content_subscription_levels( $post_id )

This function will return the subscription level(s) a given post is restricted to.


  • $post_id - ID of the post you'd like to get the required subscription levels for.

Possible return values:

  • false - No subscription level restrictions.
  • any - Restricted to any subscription level.
  • any-paid - Restricted to any paid subscription level.
  • (array) An array of subscription level IDs that the post is restricted to.
Powered by Zendesk