Skip to content Skip to main menu
User Role Editor
Menu
  • Home
  • Prices
  • Download
  • Testimonials
  • Forums
  • Blog
  • ChangeLog
  • Documentation
  • Login
Home › Reply › Reply To: Defining Posts View Access in php

Change WordPress user roles and capabilities › Forums › How to or FAQ › Defining Posts View Access in php › Reply To: Defining Posts View Access in php

31/12/2020 at 11:43 #7230
zunk
Participant

Hi,
Does it work with custom post type and media?
if I use the ID into the array ?

$restriction[‘data’][‘posts’] = array(ID Of the media or post type)

Recent Topics

  • New custom role capabilities not saved
  • How to use the paid version of plugin?
  • view_dashboard is no longer available?
  • User Role Editor Pro Not Restricting Forms Based on User Roles – Need Help
  • Use Automation to import a URE Pro Export File
  • Global Role Updates Not Syncing to Subsites in Multisite
  • Issue with Page View Access for Non-Logged In Users
  • Can’t add an image using Divi
  • MonsterInsights access capacity for user role
  • Yoast Redirects Edit capability

Recent Replies

  • Vladimir on How to make a plugin visible for non admins 11 hours, 6 minutes ago
  • [email protected] on How to make a plugin visible for non admins 23 hours, 2 minutes ago
  • Vladimir on Multisite – Capabilities reset when restricting access to a plugin 1 day, 5 hours ago
  • Vladimir on How to make a plugin visible for non admins 2 days, 11 hours ago
  • [email protected] on How to make a plugin visible for non admins 2 days, 20 hours ago
  • Vladimir on Multisite – Capabilities reset when restricting access to a plugin 4 days, 9 hours ago
  • Vladimir on How to make a plugin visible for non admins 4 days, 9 hours ago
  • [email protected] on How to make a plugin visible for non admins 1 week ago
  • Andy Burns on Multisite – Capabilities reset when restricting access to a plugin 1 week, 1 day ago
  • Vladimir on New custom role capabilities not saved 2 weeks, 1 day ago
  • Contact Us
  • Privacy Policy
  • Terms of use (EULA)
© 2010 - 2026 Role-editor.com Contact: hd@role-editor.com
Share