800,000+ WordPress sites are already using MetaSlider!

Metaslider_default_parameters

You can use this filter to modify the default slideshow settings. Theme developers may wish to use this to automatically set a “recommended” slideshow size.

Note: this will only apply to the first ever slideshow created in MetaSlider. Subsequent slideshows are given a copy of the settings for the last edited slideshow.


Parameters

$params

(array) (required) Default slideshow settings


Examples

This sample code will change the default slideshow size: