WordPress.org

Make WordPress Core

Changeset 9205


Ignore:
Timestamp:
10/16/2008 08:00:11 PM (10 years ago)
Author:
ryan
Message:

wp_get_attachment_link filter. Props Viper007Bond. fixes #7448

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r9202 r9205  
    758758        $link_text = $_post->post_title;
    759759
    760     return "<a href='$url' title='$post_title'>$link_text</a>";
    761 
     760    return apply_filters( 'wp_get_attachment_link', "<a href='$url' title='$post_title'>$link_text</a>", $id, $size, $permalink, $icon );
    762761}
    763762
Note: See TracChangeset for help on using the changeset viewer.