When your website means business.

Custom Admin, Users | Type: PHPDisable WordPress Default Image Link

Disable annoying default image link in theme functions file. You can still make a link, but it won’t be the default.

//disable default image link
function wpb_imagelink_setup() {
	$image_set = get_option( 'image_default_link_type' );
	
	if ($image_set !== 'none') {
		update_option('image_default_link_type', 'none');
	}
}
We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Accept