Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




post_permalink [ WordPress Function ]

post_permalink ( $post_id = 0, $deprecated = '' )
Parameters:
  • (int) $post_id Optional. Post ID.
  • (mixed) $deprecated Not used.
Returns:
  • (string)
Defined at:



Retrieve permalink from post ID.

Source


<?php
function post_permalink$post_id 0$deprecated '' ) {
    if ( !empty( 
$deprecated ) )
        
_deprecated_argument__FUNCTION__'1.3' );

    return 
get_permalink($post_id);
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics