Docs: Use code formatting for tags in img_caption_shortcode()
DocBlock.
See #34595. git-svn-id: https://develop.svn.wordpress.org/trunk@42705 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
32e994e478
commit
aee17a059f
@ -1503,8 +1503,8 @@ add_shortcode( 'caption', 'img_caption_shortcode' );
|
||||
* @param array $attr {
|
||||
* Attributes of the caption shortcode.
|
||||
*
|
||||
* @type string $id ID of the image and caption container element, i.e. <figure> or <div>.
|
||||
* @type string $caption_id ID of the caption element, i.e. <figcaption> or <p>.
|
||||
* @type string $id ID of the image and caption container element, i.e. `<figure>` or `<div>`.
|
||||
* @type string $caption_id ID of the caption element, i.e. `<figcaption>` or `<p>`.
|
||||
* @type string $align Class name that aligns the caption. Default 'alignnone'. Accepts 'alignleft',
|
||||
* 'aligncenter', alignright', 'alignnone'.
|
||||
* @type int $width The width of the caption, in pixels.
|
||||
|
Loading…
Reference in New Issue
Block a user