Restrict Content Pro

rcp_get_post_ids_assigned_to_restricted_terms()

Note: This is part of the developer docs and is considered custom code. Unfortunately, we cannot provide support for custom code at this time as we do not have the additional resources that would be necessary to provide support for custom code.  If you need assistance with this, please reach out to our list of consultants for further assistance: https://codeable.io/developers/restrict-content-pro/ Returns an array of all post IDs that are assigned to a restricted taxonomy term. This does not include posts that may have been restricted via the “Restrict this content” meta box. For that, see rcp_get_restricted_post_ids(). The return value is saved in a transient for one day to help with performance.
Last updated: April 20, 2023
Was this page helpful?
Thanks for the feedback!