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
- Is it possible to use Classes between WordPress plugins with separate namespaces?
- Does a plugin’s “main” file need to be named the same as the folder containing it?
- What causes the “Are you sure you want to do this?” error with plugins?
- Overwrite textdomain of plugins by default – Lost Translation
- How can I limit functionality in one version of a plugin?
- Any way to use a custom Parameter for youtube embed without using an iframe?
- How do I add a template to a theme using a plugin?
- Custom Taxonomy Tag Search
- Advanced Custom Fields
- Plugin upgrade issue
- __callStatic method handler passed to add_action causes bug in PHP
- Multiple instances of nivo slider plugin
- Interactive filters on wordpress [closed]
- Add padding while generating thumbnail
- Using window.onload with Ubermenu
- Ordering taxonomies by rank
- My homemade plugin is trying to update to someone else’s plugin
- Is there a way to embed a Google Docs form in a page without using plugins?
- Advanced Custom Fields – Disable Users to Edit Custom Fields
- REST route from a plugin not working if WordPress is installed in a subdirectory
- Plugin development: what to prefix?
- Submit Form data to another page via Ajax (WordPress Way)
- simple-job-board Plugin throws an error on live server [closed]
- How to return the values from a row where a value occurs for the first time among the rows available?
- ‘Notice: Undefined index’ error on plugins page [closed]
- Smarter navigation plugin and custom taxonomies
- How to embed a new string in url?
- google +1 like polling system
- A good heatmapping plugin for WordPress? (No 3rd-party services please) [closed]
- TN3 Plugin Not Working Under IIS / WebMatrix
- Including content from legacy app: via plugin or custom content?
- How to install a translation for a WP plugin?
- Plugin for TinyMCE to create reference to other posts
- XML Sitemap Generator and 404 problem
- Add hook after content without formatting
- Sold out Label for variable products which are partially sold out
- User loggedin as Subscriber form not sending
- Unload a woff file from WordPress
- User / membership Plugin [closed]
- How to display widget in front end?
- Where to store media uploaded by the plugin?
- Follow author on muti-user WordPress site
- Integrating a hosted app with wordpress using the API
- is_plugin_active() not defined on active plugin, in the thumbnails.php file
- Can I merge all my JS and CSS in one file using WP?
- Allow direct access to files/folders within WordPress to replace wp-admin
- Unable to login – critical error