rocket-lazy-load
rocket-lazy-load copied to clipboard
Global options when network activated
It would be great if the options were global when the plugin is network activated. I want to use the same settings on all sites, and setting them up one-by-one is tedious.
yupp, same request here.
As an alternative I am trying to force enable all options "pre_option_rocket_lazyload_options" because I have a multisite site with a lot of subsites. But the following snippet doesn't work. I used pre_option_rocket_lazyload_options
and option_rocket_lazyload_options
. Neiter one worked...
add_filter( 'pre_option_rocket_lazyload_options', function(){
return [
'images' => '1',
'iframes' => '1',
'youtube' => '1',
];
});
So either global settings or if you could double check if it can be overwritten through pre_option
.