I’ve created a child theme for functions.php and added the following code which we often use to limit uploads:
//Add your custom functions here.
add_filter( 'upload_size_limit', 'wpse_163236_change_upload_size' );
return 1000 * 1024;
The path to functions.php is:
For some reason it has no effect and I’m wondering if there is something I’ve not done as I have only created child themes with Virtue.
Sorry, this forum is for Premium customers only. Please Login to continue
If you are using a free theme you can access support on wordpress.org by searching for the free theme and using the support tab.
This topic is: resolved