Skip to content Skip to main menu
User Role Editor
Menu
  • Home
  • Prices
  • Download
  • Testimonials
  • Forums
  • Blog
  • ChangeLog
  • Documentation
  • Login
Home › Reply › Reply To: Custom User Edit Page

Change WordPress user roles and capabilities › Forums › How to or FAQ › Custom User Edit Page › Reply To: Custom User Edit Page

07/06/2017 at 07:53 #3836
Vladimir
Keymaster

if (!$this->lib->is_right_admin_path()

$this->lib object is not defined inside your function. So you get a PHP fatal error here and code is not executed further.

You have to use it this way:


$lib = URE_Lib_Pro::get_instance();
if (!$lib->is_right_admin_path('user.php') {

Recent Topics

  • Main category is deleted each time a specific role updates a post.
  • Restrict files in Media Library to Subscriber role or higher
  • Cannot edit LearnDash Course Permalinks
  • “Administrator” role missing under multisite’s subsite’s Users menu item
  • Can’t add categories to post
  • Need to create a Read Only User
  • How to restrict specific settings within a wordpress plugin
  • Membership plan
  • Unable to update changes
  • Lost WP Admin Bar in update to 4.62.1

Recent Replies

  • epss on Gravity Forms Restrictions No Longer Working 1 day, 4 hours ago
  • TomJaycocks on Can’t add categories to post 1 day, 4 hours ago
  • Vladimir on Main category is deleted each time a specific role updates a post. 1 day, 8 hours ago
  • James Smith on Gravity Forms Restrictions No Longer Working 1 day, 9 hours ago
  • Mike on Restrict files in Media Library to Subscriber role or higher 2 days, 6 hours ago
  • Vladimir on Restrict files in Media Library to Subscriber role or higher 2 days, 7 hours ago
  • Vladimir on Can’t add categories to post 2 days, 7 hours ago
  • TomJaycocks on Can’t add categories to post 2 days, 11 hours ago
  • Vladimir on Role capabilities won’t save 1 week, 1 day ago
  • Vladimir on Restrict access to content by Author in Media Library 1 week, 3 days ago
  • Contact Us
  • Privacy Policy
  • Terms of use (EULA)
© 2010 - 2022 Vladimir Garagulia (ИП Гарагуля Владимир Сергеевич)
Share