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

  • Modern Events Calendar (Webnus) – restrict editing to custom taxonomy
  • Your site is undergoing maintenance for more than 1 day
  • Conflict with “Schema Pro”
  • Giving access to user to install and configure the plugin he installed
  • How to block “Tags” box in post editor view for certain roles.
  • LearnDash (Course Search – Not Working)
  • URE Pro Not Restrictng on Elementor Theme Builder
  • set user role to wholesale when they create account with specific domain
  • Gravity forms addons not listed
  • Object Cache Pro plugin appearing in admin menu even though disabled

Recent Replies

  • Mike on URE Pro Not Restrictng on Elementor Theme Builder 1 week, 3 days ago
  • nuoem on Your site is undergoing maintenance for more than 1 day 2 weeks, 3 days ago
  • Vladimir on Your site is undergoing maintenance for more than 1 day 2 weeks, 3 days ago
  • Vladimir on Conflict with “Schema Pro” 2 weeks, 6 days ago
  • ekmek on Conflict with “Schema Pro” 2 weeks, 6 days ago
  • Vladimir on Giving access to user to install and configure the plugin he installed 3 weeks ago
  • jdominguezlemoine on Giving access to user to install and configure the plugin he installed 3 weeks ago
  • Vladimir on How to block “Tags” box in post editor view for certain roles. 3 weeks, 3 days ago
  • Vladimir on LearnDash (Course Search – Not Working) 4 weeks ago
  • imbenchilds on Hide Templates from Elementor 1 month 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