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

  • Enable roles to use Unfiltered HTML
  • Admin lost access to Plugin User Role Editor
  • Hide `+ Add new category`
  • License Key Field is missing
  • Block Content View Restrictions on Categories and Tags for Editor role
  • Content restriction redirect to 404 not working
  • Allow certain user roles to upload non-default files
  • Ugly menu access option display if css class or link relationship is visible
  • Allowing non-admins to manage custom type taxonomies/categories
  • Restricting Learndash content types

Recent Replies

  • Vladimir on Enable roles to use Unfiltered HTML 1 week ago
  • webarts on Admin lost access to Plugin User Role Editor 1 week, 1 day ago
  • Vladimir on Admin lost access to Plugin User Role Editor 1 week, 2 days ago
  • Vladimir on Admin lost access to Plugin User Role Editor 1 week, 2 days ago
  • Vladimir on Block Content View Restrictions on Categories and Tags for Editor role 1 week, 5 days ago
  • Vladimir on Allowing non-admins to manage custom type taxonomies/categories 1 week, 5 days ago
  • Vladimir on Hide `+ Add new category` 1 week, 5 days ago
  • Vladimir on License Key Field is missing 1 week, 6 days ago
  • edering on License Key Field is missing 1 week, 6 days ago
  • Vladimir on License Key Field is missing 2 weeks ago
  • Contact Us
  • Privacy Policy
  • Terms of use (EULA)
© 2010 - 2023 Artellect Limited. Units A-C, 25/F., Seabright Plaza, No. 9-23 Shell Street, North Point, Hong Kong. Contact: hd@role-editor.com
Share