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



post_permalink › WordPress Function

Depuis1.0.0
Dépréciée4.4.0
post_permalink ( $post = 0 )
Paramètres:
  • (int|WP_Post) $post Optional. Post ID or WP_Post object. Default is global $post.
    Requis: Non
    Défaut:
Voir:
Retourne:
  • (string|false)
Défini(e) dans:
Codex:

Retrieve permalink from post ID.



Source

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

	return get_permalink( $post );
}