Title: Authorizer
Last modified: August 15, 2022

---

# Authorizer

 *  Resolved [eavenhuang32](https://wordpress.org/support/users/eavenhuang32/)
 * (@eavenhuang32)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/authorizer/)
 * Dear experts,
 * I wanted to set some certain pages that users need to log in first, before they
   can see the contents. I found that after the new pages are created, they will
   be placed under Private Pages, this is inconvenient for our purpose.
 * Is there any way that we can set the default pages/posts as public pages (instead
   of private) in Authorizer?
 * Thanks a lot!!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [pkarjala](https://wordpress.org/support/users/pkarjala/)
 * (@pkarjala)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/authorizer/#post-16066347)
 * Hi, currently there is not a setting available for this in Authorizer. The general
   presumption is that if you only want logged in users to view content, all new
   content should also be prevented from public viewing for privacy/security reasons
   by default to prevent accidental posting of public content.
 * That said, I will check in to see if “public by default” is a feature we will
   consider implementing.
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/authorizer/#post-16080117)
 * You can also hook into `authorizer_has_access` and add your custom code to determine
   which pages are public and private. Return true if the page currently being requested
   is public, and false if private.
 * See:
    [https://github.com/uhm-coe/authorizer/blob/master/src/authorizer/class-authorization.php#L503-L521](https://github.com/uhm-coe/authorizer/blob/master/src/authorizer/class-authorization.php#L503-L521)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Authorizer’ is closed to new replies.

 * ![](https://ps.w.org/authorizer/assets/icon-256x256.jpg?rev=1967453)
 * [Authorizer](https://wordpress.org/plugins/authorizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/authorizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/authorizer/)
 * [Active Topics](https://wordpress.org/support/plugin/authorizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/authorizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/authorizer/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/authorizer/#post-16080117)
 * Status: resolved