2.2 (2026-09-18)
- ADDED New "Enabled Post Types" setting to choose which post types content restriction is available for. All public post types are enabled by default, including when the selection is empty.
- TWEAKED Existing sites will automatically have content restriction enabled for the post types that already contain restricted content.
- TWEAKED The content restriction metabox now only appears on enabled post types, and posts of other post types are never restricted.
- TWEAKED Restricted content redirects now run later in the page load for better compatibility with other plugins, and are identified as coming from Groundhogg - Content Restriction.
- DEV New
groundhogg/content_restriction/post_types filter to override the enabled post types.
- DEV New
GroundhoggContentRestriction\get_enabled_post_types() and GroundhoggContentRestriction\is_post_type_enabled() functions.
- DEV Added an
Update URI header to the plugin file.
2.1.2.1
- The upgrade for the old restriction rules to the new filters upgrading even when there were no tags previously defined causing invalid queries.
2.1.1 & 2.1.2
- Fixed bug of old restriction rules not being upgraded to the new filters method properly.
2.1
- Replaced the standard content restriction based on tags with the search filters functionality
- Old configurations will automatically be upgraded to search filters
2.0
- Updated code for groundhogg version 2.0
1.0