Author can’t rename even after adding filters
-
I followed the instructions to add the filter to allow the author user role to use Media File Renamer. I changed the code snippet provided on the site to the following:
add_filter( 'mfrh_allow_usage', function( $allow ) { return current_user_can( 'author' ) || $allow; } );
I allowed the filter code snippet to run everywhere, and Author roles still had no access to Media File Renamer. In case it was the settings, I also added the mfrh_allow_setup filter, and allowed it to run everywhere.
Nothing matters — I can’t grant access to the Author user role.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Author can’t rename even after adding filters’ is closed to new replies.