Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



next_image_link ›

Seit2.5.0
Veraltetn/v
next_image_link ( $size = 'thumbnail', $text = false )
Parameter: (2)
  • (string|array) $size Optional. Image size. Accepts any valid image size, an array of width and height values in pixels (in that order), 0, or 'none'. 0 or 'none' will default to 'post_title' or `$text`. Default 'thumbnail'.
    Erforderlich: Nein
    Standard: 'thumbnail'
  • (string) $text Optional. Link text. Default false.
    Erforderlich: Nein
    Standard: false
Siehe:
Definiert in:
Codex:

Displays next image link that has the same post parent.



Quellcode

function next_image_link( $size = 'thumbnail', $text = false ) {
	adjacent_image_link( false, $size, $text );
}