wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_previous_image_link › WordPress Function

Desde5.8.0
Obsoleton/a
get_previous_image_link ( $size = 'thumbnail', $text = false )
Parâmetros: (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'.
    Required: No
    Padrão: 'thumbnail'
  • (string|false) $text Optional. Link text. Default false.
    Required: No
    Padrão: false
Ver:
Retorna:
  • (string) Markup for previous image link.
Definido em:
Codex:

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



Fonte

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