Add WPF settings page to protect all posts of a type
Objective is to be able to globally apply access rules to specified post types. For example, maybe there is a CPT defined as "bonuses". I would like to be able to define WPF access rules to apply to all of that post type.
It would be similar to the integration done with the Custom Post Type UI plugin (https://wordpress.org/plugins/custom-post-type-ui/) or with the WPF filter wpf_post_type_rules .
My proposal would be to have a tab added to the WPF Settings page called something like "Post Type Protection". On that settings tab would be listed all the registered post types (standard and CPT) along with the settings dialogs for each post type to define access conditions. Basically, putting a user interface to wpf_post_type_rules .
By doing this I think protection logic can be applied to any CPT independent of the tool used to create the CPT (e.g. ACF, PODS, etc)
Powered by Simple feature Requests