Docs: Adjust documentation for the $size
parameter in the begin_fetch_post_thumbnail_html
hook doc to clarify the required order of width and height values when an array is passed.
See #34257. git-svn-id: https://develop.svn.wordpress.org/trunk@35070 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e918b66538
commit
73cfcece73
@ -139,7 +139,8 @@ function get_the_post_thumbnail( $post = null, $size = 'post-thumbnail', $attr =
|
||||
*
|
||||
* @param int $post_id The post ID.
|
||||
* @param string $post_thumbnail_id The post thumbnail ID.
|
||||
* @param string $size The post thumbnail size.
|
||||
* @param string $size The post thumbnail size. Image size or array of width
|
||||
* and height values (in that order). Default 'post-thumbnail'.
|
||||
*/
|
||||
do_action( 'begin_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size );
|
||||
if ( in_the_loop() )
|
||||
|
Loading…
Reference in New Issue
Block a user