wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



get_next_image_link › WordPress Function

Depuis5.8.0
Dépréciéen/a
get_next_image_link ( $size = 'thumbnail', $text = false )
Paramètres: (2)
  • (string|int[]) $size Optional. Image size. Accepts any registered image size name, or an array of width and height values in pixels (in that order). Default 'thumbnail'.
    Requis: Non
    Défaut: 'thumbnail'
  • (string|false) $text Optional. Link text. Default false.
    Requis: Non
    Défaut: false
Voir:
Retourne:
  • (string) Markup for next image link.
Défini(e) dans:
Codex:

Gets the next image link that has the same post parent.



Source

function get_next_image_link( $size = 'thumbnail', $text = false ) {
	return get_adjacent_image_link( false, $size, $text );
}