mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 09:10:06 +00:00
Docs: Specify the default image size in the $size parameter description for the image_send_to_editor hook.
See #34257. See #32246. See [35058]. git-svn-id: https://develop.svn.wordpress.org/trunk@35080 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -142,7 +142,7 @@ function get_image_send_to_editor( $id, $caption, $title, $align, $url = '', $re
|
||||
* @param string $align The image alignment.
|
||||
* @param string $url The image source URL.
|
||||
* @param string|array $size Size of image. Image size or array of width and height values
|
||||
* (in that order).
|
||||
* (in that order). Default 'medium'.
|
||||
* @param string $alt The image alternative, or alt, text.
|
||||
*/
|
||||
$html = apply_filters( 'image_send_to_editor', $html, $id, $caption, $title, $align, $url, $size, $alt );
|
||||
|
||||
Reference in New Issue
Block a user