Closed nicoladj77 closed 4 years ago
I needed to have this flexibility as I had a multisite with different roles. To make it work, you also need to add
add_filter( 'option_page_capability_password-protected', function ( $capability ) { return 'manage_password_protection'; } );
to your theme
Don't know if you agree on the approach or would prefer a different one
I needed to have this flexibility as I had a multisite with different roles. To make it work, you also need to add
to your theme
Don't know if you agree on the approach or would prefer a different one