Switch language

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




use_ssl_preference [ WordPress Function ]

use_ssl_preference ( $user )
Parameters:
  • (object) $user User data object
Defined at:



Optional SSL preference that can be turned on by hooking to the 'personal_options' action.

Source


<?php
function use_ssl_preference($user) {
?>
    <tr>
        <th scope="row"><?php _e('Use https')?></th>
        <td><label for="use_ssl"><input name="use_ssl" type="checkbox" id="use_ssl" value="1" <?php checked('1'$user->use_ssl); ?> /> <?php _e('Always use https when visiting the admin'); ?></label></td>
    </tr>
<?php
}
?>

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