public function wp_get_attachment_url($url, $post_id)
{
$new_url = $this->get_attachment_url($post_id);
if (false === $new_url) {
return $url;
}
$new_url = apply_filters('wps3_get_attachment_url', $new_url, $post_id, $this);
// Old naming convention, will be deprecated soon
$new_url = apply_filters('as3cf_wp_get_attachment_url', $new_url, $post_id);
return $new_url;
}