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:
parent
dd7b3a62fd
commit
6e6d9f9830
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user