Summery Summery
Filters the value of the attachment’s image tag class attribute.
Syntax Syntax
Parameters Parameters
- $class
-
CSS class name or space-separated list of classes.
- $id
-
Attachment ID.
- $align
-
Part of the class name for aligning the image.
- $size
-
Size of image. Image size or array of width and height values (in that order). Default 'medium'.
Source Source
File: wp-includes/media.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |