Advertisements

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

Advertisements

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: