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



post_permalink › WordPress Function

Da1.0.0
Deprecato4.4.0
› post_permalink ( $post = 0 )
Parametri:
  • (int|WP_Post) $post Optional. Post ID or WP_Post object. Default is global $post.
    Richiesto: No
    Default: —
Vedi:
Ritorna:
  • (string|false)
Definito a:
Codex:

Retrieve permalink from post ID.



Sorgenti

function post_permalink( $post = 0 ) {
	_deprecated_function( __FUNCTION__, '4.4.0', 'get_permalink()' );

	return get_permalink( $post );
}