Filters
- ure_admin_menu_access_allowed_args – allows to exclude blocking of allowed links if they use some additional parameters. It’s used at Admin menu access add-on
- ure_admin_menu_access_not_block_url – allows to whitelist not selected URL for the “Block not Selected” model. It’s used at Admin menu access add-on
- ure_addons_to_copy_for_new_blog – tells to User Role Editor Pro what add-on data to
copy to a new created blog (for WordPress multisite only). - ure_attachments_show_full_list – allows to show full list of Media Library items for the role or user with content edit restrictions applied.
- ure_auto_access_child_pages – allows to switch of the automatic inclusion of child pages to the list of allowed/restricted pages. It’s used by the edit pages restrictions add-on.
- ure_edit_posts_access_add_orders_by_product_owner – The restricted list of orders is extended by default by the orders created by other users, but which includes products for which this user (or authors list) is the owner/creator. Return FALSE using this filter to switch this behavior OFF;
- ure_edit_posts_access_id_list – allows to set/modify a list of posts/pages/custom post types (posts) IDs, according to which “Posts edit access” add-on will restrict the list of posts available for editing to a current user.
- ure_edit_posts_access_restriction_type – allows to set/modify a restriction model (Allow/Block), according to which “Posts edit access” add-on will restrict the list of posts available for editing to a current user.
- ure_not_block_other_roles_for_local_admin filter allows to apply “Other roles access” add-on restrictions to the users with ‘administrator’ role (single site administrators) under WordPress multisite.
- ure_other_roles_access filter allows to modify restrictions set by “Other roles access” add-on for the roles granted to a current user
- ure_post_edit_access_authors_list filter allows to modify authors list which posts should be allowed/prohibited for editing for a current user
- ure_posts_show_full_list – allows to switch off a restriction, when user sees just posts/pages which he can edit.
- ure_restrict_content_view_for_authors_and_editors – allows to apply content view access restrictions to the user who can edit this post or page;
- ure_restrict_edit_post_type – allows to exclude post type from the content edit restriction module scope.
- ure_role_additional_options – allows link your custom code to change WordPress behavior for selected role;
- ure_set_cpt_own_caps – allows exclude custom post type from “Force custom post type to use own capabilities” option action;
- ure_set_cpt_taxonomy_own_caps – allows exclude custom post type taxonomy from “Force custom post type to use own capabilities” option action;
- ure_show_posts_which_can_edit_only_backend – allows to user to see all allowed posts at the admin back-end, not only those which he can really edit;
- ure_supress_administrators_protection – allows to switch off a special protection of ‘Administrator’ role and users with this role from editing by users with other roles.
- ure_widgets_edit_access_user – allows manually set the list of widgets and sidebars unavailable for editing to a current user