From df69a468c9580e7a089d825577bf34aaa5827b39 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 23 Oct 2014 10:05:06 -0400 Subject: [PATCH] Utilizing image_default_link_type hook (none) --- Gaslightify.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gaslightify.php b/Gaslightify.php index d3dfcd4..b51ce87 100755 --- a/Gaslightify.php +++ b/Gaslightify.php @@ -33,6 +33,10 @@ function interface_client_safeguard() { } } +add_action('after_setup_theme', 'GLM_general_settings'); +function GLM_general_settings() { + update_option('image_default_link_type','none'); +} function my_admin_theme_style() { // wp_enqueue_style('my-admin-theme', plugins_url('css/Gaslightify.css', __FILE__)); } -- 2.17.1