backstretch_gallery_default

Description

WP Backstretch comes with default gallery images, in the event that you save the settings but don’t actually add images. This filter allow you to change the default array.

Usage

Create an image array

function rkv_default_array( $images ) {

	$images	= array(
		MY_DOMAIN.'/images/my-gallery-default-1.jpg',
		MY_DOMAIN.'/images/my-gallery-default-2.jpg',
		MY_DOMAIN.'/images/my-gallery-default-3.jpg',
		);

	return $images;
}

add_filter( 'backstretch_gallery_default', 'rkv_default_array');