Switch language

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




wp_nonce_url [ WordPress Function ]

wp_nonce_url ( $actionurl, $action = -1 )
Parameters:
  • (string) $actionurl URL to add nonce action
  • (string) $action Optional. Nonce action name
Returns:
  • (string) URL with nonce action added.
Defined at:



Retrieve URL with nonce added to URL query.

Source


<?php
function wp_nonce_url$actionurl$action = -) {
    
$actionurl str_replace'&amp;''&'$actionurl );
    return 
esc_htmladd_query_arg'_wpnonce'wp_create_nonce$action ), $actionurl ) );
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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