Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/includes/media.php | apply_filters | 950 | /** * Filters the image URL sent to the editor. * * @since 2.8.0 * * @param string $html HTML markup sent to the editor for an image. * @param string $src Image source URL. * @param string $alt Image alternate, or alt, text. * @param string $align The image alignment. Default 'alignnone'. Possible values include * 'alignleft', 'aligncenter', 'alignright', 'alignnone'. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $html | HTML markup sent to the editor for an image. |
string | $src | Image source URL. |
string | $alt | Image alternate, or alt, text. |
string | $align | The image alignment. Default 'alignnone'. Possible values include |