wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



comments_link › WordPress Function

Da0.71
Deprecaton/a
comments_link ( $deprecated = '', $deprecated_2 = '' )
Parametri: (2)
  • (string) $deprecated Not Used.
    Richiesto: No
    Default: (vuoto)
  • (string) $deprecated_2 Not Used.
    Richiesto: No
    Default: (vuoto)
Definito a:
Codex:

Displays the link to the current post comments.



Sorgenti

function comments_link( $deprecated = '', $deprecated_2 = '' ) {
	if ( ! empty( $deprecated ) ) {
		_deprecated_argument( __FUNCTION__, '0.72' );
	}
	if ( ! empty( $deprecated_2 ) ) {
		_deprecated_argument( __FUNCTION__, '1.3.0' );
	}
	echo esc_url( get_comments_link() );
}