mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-07 08:07:16 +00:00
Docs: Correct and improve some docblocks.
See #42505 git-svn-id: https://develop.svn.wordpress.org/trunk@43642 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -170,15 +170,15 @@ function get_image_send_to_editor( $id, $caption, $title, $align, $url = '', $re
|
||||
*
|
||||
* @since 2.6.0
|
||||
*
|
||||
* @param string $html
|
||||
* @param integer $id
|
||||
* @param string $caption image caption
|
||||
* @param string $title image title attribute
|
||||
* @param string $align image css alignment property
|
||||
* @param string $url image src url
|
||||
* @param string $size image size (thumbnail, medium, large, full or added with add_image_size() )
|
||||
* @param string $alt image alt attribute
|
||||
* @return string
|
||||
* @param string $html The image HTML markup to send.
|
||||
* @param integer $id Image attachment ID.
|
||||
* @param string $caption Image caption.
|
||||
* @param string $title Image title attribute (not used).
|
||||
* @param string $align Image CSS alignment property.
|
||||
* @param string $url Image source URL (not used).
|
||||
* @param string $size Image size (`thumbnail`, `medium`, `large`, `full`, or added with `add_image_size()`) (not used).
|
||||
* @param string $alt Image `alt` attribute (not used).
|
||||
* @return string The image HTML markup with caption shortcode.
|
||||
*/
|
||||
function image_add_caption( $html, $id, $caption, $title, $align, $url, $size, $alt = '' ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user