Astra_Scroll_To_Top_Loader::theme_defaults( array $defaults )

Set Options Default Values


Description


Parameters

$defaults

(array) (Required) Astra options default value array.


Return

(array)


Source

File: inc/addons/scroll-to-top/classes/class-astra-scroll-to-top-loader.php

	public function theme_defaults( $defaults ) {

		$defaults['scroll-to-top-enable']          = true;
		$defaults['scroll-to-top-icon-size']       = 15;
		$defaults['scroll-to-top-icon-position']   = 'right';
		$defaults['scroll-to-top-on-devices']      = 'both';
		$defaults['scroll-to-top-icon-radius']     = '';
		$defaults['scroll-to-top-icon-color']      = '';
		$defaults['scroll-to-top-icon-h-color']    = '';
		$defaults['scroll-to-top-icon-bg-color']   = '';
		$defaults['scroll-to-top-icon-h-bg-color'] = '';

		return $defaults;
	}

Changelog

Changelog
Version Description
4.0.0 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.