Black Friday 40% off yearly and lifetime plans · 18d left Ends in 18d09h23m Claim 40% off
Security38 docs

How to Apply Content Protection to Administrators in WordPress

Apply content protection (text selection, right-click, etc.) to administrators in WordPress via Classic Monks. By default, content protection excludes admins, but you can opt-in to apply it to admins too.

By Founder & Lead Developer

Last updated

2 minutes

Key takeaways

  • Single toggle, no nested options
  • Master switch for applying content protection to admins
  • By default, admins bypass content protection (e.g., they can select text)
  • Useful for shared admin environments or compliance requirements
  • Affects all content protection features in Classic Monks

What Is the Protection for Admin feature?

Most content protection features in Classic Monks (Disable Text Selection, Disable Right Click, Disable Copy/Paste, etc.) have a built-in “Apply to Administrators” sub-option. When that sub-option is on (the default), admins are exempt from the content protection.

The Protection for Admin feature is a master switch that overrides all the “Apply to Administrators” sub-options. When enabled, content protection applies to admins too.

Why You Need It

The default behavior (admins bypass content protection) is correct for most sites. But there are cases where admins should also have the protection:

  • Shared admin environments: Where multiple admins use the same device
  • Compliance requirements: Some industries require content protection to apply to all users, including internal staff
  • Demo environments: Where admins are showing the site to clients and want to demonstrate the protection
  • Standardization: To ensure consistent behavior across all users

For most sites, the default (admins bypass) is correct. For the above cases, enabling this feature is useful.

Trade-offs vs excluding admins

Applying content protection to admins has trade-offs:

  • Workflow: Admins cannot easily copy text from the frontend to use in marketing, support responses, etc.
  • Development: Devs working on the site cannot easily test the content without disabling the protection
  • Debugging: Admins may have trouble reporting issues if they cannot see the same view as regular users

For most sites, the trade-offs favor excluding admins.

How to Apply Content Protection to Administrators in WordPress

  1. Step 1

    Navigate to Settings

    Click into the Classic Monks plugin settings in your WordPress dashboard.

  2. Step 2

    Go to the Security Tab

    Click on the Security menu, then click the Content Protection subtab.

  3. Step 3

    Enable Apply to Administrators

    Scroll to Apply to Administrators and toggle on. This is a master switch that turns on content protection for admins.

    Content protection settings enabled

  4. Step 4

    Save Changes

    Click Save Changes.

  5. Step 5

    Test

    Log in as an admin. Visit the frontend. Try to select text, right-click, etc. These actions should now be disabled (if the corresponding content protection features are also enabled).

Configuration Options

Option Description Default
Apply to Administrators Master toggle to apply content protection to admins. Off

No nested options. The toggle overrides the per-feature “Apply to Administrators” sub-options.

What Gets Affected

  • The content protection features: all apply to admins
  • The admin’s workflow: text selection, right-click, etc. are disabled
  • The admin’s debugging: harder to test the frontend without disabling protection
  • The user experience: admins and regular users see the same behavior

What Does NOT Get Affected

  • The admin’s own data: the admin can still access the wp-admin
  • The admin’s content editing: the editor is not affected (only the frontend)
  • The content protection features themselves: still toggleable independently
  • The “Apply to Administrators” sub-options: still work, but the master switch overrides them

Troubleshooting

5 problems and how to fix each one.

The content protection is still not applying to admins

Cause: The toggle is off, or no content protection features are enabled.
Fix: Verify the toggle is on. Verify the individual content protection features (Disable Right Click, Disable Text Selection, etc.) are also enabled.

The admin’s workflow is too restricted

Cause: The protection is now applying to the admin.
Fix: Disable the toggle. Admins will again bypass content protection.

The “Apply to Administrators” sub-option is not working

Cause: The master switch is overriding the per-feature sub-options.
Fix: This is by design. The master switch (Apply to Administrators in the master list) overrides the per-feature sub-options. Disable the master switch to use the per-feature sub-options.

I want to apply protection to some admins but not others

Cause: The feature applies to all admins.
Fix: Use the cm_protection_for_admin_enabled filter to exclude specific admin user IDs. Or use a custom user role (not administrator) for the admins who should be exempt.

The protection is still being bypassed

Cause: The admin is using a non-standard role or capability.
Fix: Check the user’s role in Users > edit user. Use the cm_protection_for_admin_roles filter to add custom roles.

Was this doc helpful?

Your answer tells us which docs to fix first.

Still stuck? Ask on the forum or email help@classicmonks.com.
Joy Chetry
Written by the person who built it

Joy Chetry

Founder & Lead Developer, Classic Monks

Joy is the founder of Classic Monks and GoodMonks Solutions, a web development agency that builds WordPress and WooCommerce sites for clients. Classic Monks grew out of the agency's own need to consolidate 20 to 30 separate plugins into one core stack.

Follow this doc on a real site.

Open a private WordPress site with Classic Monks, WooCommerce and Bricks Builder installed, and follow this doc step by step. Free for 24 hours, no card.

280 docs, written by Joy Chetry 15 day refund window