Switch language

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




default_password_nag_handler [ WordPress Function ]

default_password_nag_handler ( $errors = false )
Defined at:



No description yet.

Source


<?php
function default_password_nag_handler($errors false) {
    global 
$user_ID;
    if ( ! 
get_user_option('default_password_nag') ) //Short circuit it.
        
return;

    
//get_user_setting = JS saved UI setting. else no-js-fallback code.
    
if ( 'hide' == get_user_setting('default_password_nag') || isset($_GET['default_password_nag']) && '0' == $_GET['default_password_nag'] ) {
        
delete_user_setting('default_password_nag');
        
update_user_option($user_ID'default_password_nag'falsetrue);
    }
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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