As @jacob suggest, you can add subscriber
role into that array using add_filter
. add below code in active theme’s functions.php file.
add_filter( 'wf_user_permission_roles', 'wf_user_permission_roles_callback' ) ;
function wf_user_permission_roles_callback( $roles ) {
$roles[] = 'subscriber';
return $roles;
}
Related Posts:
- Should all plugins be encapsulated in a Class?
- Registering Class methods as hook callbacks
- Get plugin_dir_url() from one level deep within plugin
- How to use classes declared in another plugin?
- Namespaces in WordPress – How do I initiate the main class?
- How do I extend one plugin I’m writing with another I’m writing using classes?
- Adding an admin page – OOP approach not working
- scheduled event not getting executed
- Using the media uploader in a custom plugin
- Trying to get logged-in user data inside php class
- register child class in another plugin
- Check if a class exists within a method
- How to include and use custom class files in plugin?
- Creating a menu page in a Object Oriented developed plugin
- Current user in plugin returns NULL
- How to structure a plugin into multiple files using classes?
- Calling custom plugin class methods from a template
- Getting user roles in plugin files
- Plugin activation hook in an abstract class
- plugin class inheritance. cannot change variable
- Most efficient way to use classes to create admin pages using Settings API
- Basic Object Oriented plugin question
- Using plugin functions/methods within templates
- How to handle cookies from a WordPress plugin on a cached page?
- accessing parent variables in child construct without executing action in parent
- Object method calling for global $wpdb in header.php
- Why is my custom post type not being activated on plug-in activation?
- How to prevent PHP fatal error if plugin hasn’t been enabled and a method is called in theme file?
- get_option / wp_localize_script Not Working in OOP Plug In
- Built a second plugin but it overwrote the first one
- profile_update hook doesn’t works inside a class
- WordPress Object Oriented plugin development [closed]
- How to access OOP plugin function inside themes or other plugin
- Plugin: Hooking up classes that have their own hooks
- WordPress Custom Hook with Class method
- FPDF for creating pdf diplomas
- WordPress plugin blog creation
- Woocommerce functions in custom class, avoid errors
- Get post content inside plugin class method
- How to access classes in theme of a plugin?
- Reorganization of namespaces
- accessibility of an object created in a plugin, from the header
- Creating a register settings class that supports extended classes
- Autoloading a PHP class – working outside, but not inside WordPress plugin
- Why function hooked using object are executing at all time?
- How do add_action and WP_Query
- private functions in plugins
- Plugin won’t activate, fatal error (widget class not found)
- OOP Plugin: Where should I place the action hooks in the class?
- Global Handle to Class unavailable in Plugin?
- Strict Standards: Non-static method in sidebar generator
- Plugin: Custom menu item problem
- Function not being called on form submit, only blank admin-post.php page
- Can I upgrade a plugin to a specific version?
- How to have WordPress send a user confirmation/validation email on signup
- How to place random widgets in the WordPress sidebar?
- Auto login using Active Directory and Windows Authentication
- Plugin search sorting for admin section – WordPress [duplicate]
- Determining where fopen() is writing files when used from WordPress AJAX call [closed]
- Plugin Functionality Only for Editor and Administrator
- Plugin to hide admin menu (vertical menu bar)
- Building WordPress Plugin Using FPDF – How do you get post content from currently viewed post?
- Ran into a problem installing plugins with Composer
- Demystifying and understanding shortcode nomenclature
- How to modify shortcode attributes with data from current post
- Conditionally add apt. Open Graph meta data to different pages on WordPress site
- Does a wordpress plugin (not a membership one) exist for selling access to some webpages? [closed]
- Is there an easy way to flag posts in the admin area?
- Want to take Facebook Page posts and turn them into blog post
- What’s the best way to go about updating WordPress plugins when using SVN and multiple environments?
- WordPress : Explain Plugins & Theme string value in database
- Why Does the WordPress Twitter Tools Plugin give a 500 Internal Server Error?
- can we modify wordpress plugin version value to avoid update warning?
- Plugins for logo in wp themes? [closed]
- Is there a plugin for automatically adding a word or symbol after a trigger word? I.e. Like a search and replace but more like search and add? [closed]
- How to display the featured post on the category page?
- Disable globally “Crop thumbnail to exact dimensions (normally thumbnails are proportional)” with Multisite
- UTF-32be error WordPress
- How I update WordPress theme and plugins
- How to request admin-ajax.php correctly when wordpress URL and site URL are different?
- Installed Forca Theme, wonder how I can alter Post editing screen
- How to Use the Filter “sidebar_login_widget_form_args”
- How can i listing current category and Featured Category post list?
- Contact Form 7: Load scripts and styles only when there is shortcode? [closed]
- How to theme code blocks formatted by the prettify.js embedded with WP-Markdown?
- Is there a syntax highlighting plugin for HTML View? [duplicate]
- Hide plugins and theme from public
- Same Plugin tables between wordpress installations
- How would I get the new plugin version on this function?
- Why does my custom plugin only function correctly once per page?
- How to get checkbox by default true in metabox?
- I can’t view the orders on the woocomerce dashboard with the brainblocks plugin
- Custom Post Type works when registered in functions.php but not when registered in plugin
- Help needed with woocommerce (wc stripe) filter
- How set role at registration based on email?
- Why did a WordPress plugin vanish from the WordPress repository?
- My AJAX API plugin isn’t working
- Make a magic tag work with Custom Post Types
- Bidding site plugin [closed]
- Editing a theme