Removed wp_get_attachment_image_url() function from functions

This commit is contained in:
Pedro Reis 2015-12-09 13:12:34 +00:00
parent 1abac97f93
commit 06dc6aefb9
1 changed files with 0 additions and 14 deletions

View File

@ -174,18 +174,4 @@ function barebones_tiny_mce_before_init( $settings )
} }
add_filter( 'tiny_mce_before_init', 'barebones_tiny_mce_before_init' ); 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];
}