Switch language

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




wp_ajax_get_permalink [ WordPress Function ]

wp_ajax_get_permalink ( No parameters )
Defined at:



No description yet.

Source


<?php
function wp_ajax_get_permalink() {
    
check_ajax_referer'getpermalink''getpermalinknonce' );
    
$post_id = isset($_POST['post_id'])? intval($_POST['post_id']) : 0;
    
wp_dieadd_query_arg( array( 'preview' => 'true' ), get_permalink$post_id ) ) );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



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