Scroll Top is a WordPress plugin which make scroll to top customizable button. Version: 1.0.1 Text Domain: scrltop Domain Path: /languages Author: Andrey Shchedrin Author URI: http://webgel.com License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html */ //default setting register_activation_hook( __FILE__, 'scrltop_plugin_activate'); function scrltop_plugin_activate(){ update_option('scrltop_enable_button', sanitize_text_field('n')); update_option('scrltop_button_color', sanitize_text_field('#52616b')); update_option('scrltop_arrow_color', sanitize_text_field('#1e2022')); update_option('scrltop_position_button', sanitize_text_field('Right')); update_option('scrltop_position_button_left', sanitize_text_field('20')); update_option('scrltop_position_button_right', sanitize_text_field('20')); update_option('scrltop_position_button_bottom', sanitize_text_field('20')); update_option('scrltop_start_scrolling', sanitize_text_field('400')); update_option('scrltop_form_button', sanitize_text_field('Circle')); update_option('scrltop_arrow', sanitize_text_field('Type1')); } //require scripts require_once(plugin_dir_path(__FILE__).'scrltop-scripts.php'); //require styles require_once(plugin_dir_path(__FILE__).'scrltop-styles.php'); //require functions require_once(plugin_dir_path(__FILE__).'scrltop-functions.php'); //require core require_once(plugin_dir_path(__FILE__).'scrltop-core.php'); //require admin require_once(plugin_dir_path(__FILE__).'scrltop-admin.php'); ?>