previous_image_link

Definition:
function previous_image_link($size = 'thumbnail', $text = false) {}

Display previous image link that has the same post parent.

Parameters

  • string $size: Optional, default is ‘thumbnail’. Size of image, either array or string. 0 or ‘none’ will default to post_title or $text;
  • string $text: Optional, default is false. If included, link will reflect $text variable.

Return values

returns:HTML content.

Source code

function previous_image_link($size = 'thumbnail', $text = false) {

	adjacent_image_link(true, $size, $text);

}

2609

No comments yet... Be the first to leave a reply!

Leave a comment