From 06dc6aefb974d83af2ef9934d95a56190e428207 Mon Sep 17 00:00:00 2001 From: Pedro Reis Date: Wed, 9 Dec 2015 13:12:34 +0000 Subject: [PATCH] Removed wp_get_attachment_image_url() function from functions --- functions.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/functions.php b/functions.php index e71a7f8..3d2d80c 100644 --- a/functions.php +++ b/functions.php @@ -174,18 +174,4 @@ function barebones_tiny_mce_before_init( $settings ) } add_filter( 'tiny_mce_before_init', 'barebones_tiny_mce_before_init' ); - - - -/** - * Get image URL for whatever size. - */ - -function wp_get_attachment_image_url( $id, $size = 'full', $attrs = [] ) -{ - $image = wp_get_attachment_image_src( $id, $size, $attrs ); - - return $image[0]; -} -