attachment_icon

attachment_icon

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('attachment_icon') is found 1 times:

  • /wp-includes/deprecated.php line 1980
    	$post_title = esc_attr($post->post_title);
    
    	$icon = "<img src='$src' title='$post_title' alt='$post_title' $constraint/>";
    
    	return apply_filters( 'attachment_icon', $icon, $post->ID );
    }
    
    /**
     * Retrieve HTML content of image element.
     *
     * @since 2.0.0