Change upload limit by user role
-
I’m looking to see if anyone knows how to change the upload limit on a per-role basis for a WP Multisite install? I’ve tried this conditional within the functions.php file:
if (is_super_admin()) : @ini_set( 'upload_max_size' , '100M' ); else : @ini_set( 'upload_max_size' , '10M' ); endif;
With no joy. Has anyone achieved this before?
- The topic ‘Change upload limit by user role’ is closed to new replies.