wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
use_ssl_preference › WordPress Function
Depuis2.7.0
Dépréciéen/a
› use_ssl_preference ( $user )
Paramètres: |
|
Défini(e) dans: |
|
Codex: |
Optional SSL preference that can be turned on by hooking to the 'personal_options' action.
See the {@see 'personal_options'} action.Fonctions en relation: update_post_parent_caches, check_ajax_referer, get_status_header_desc, set_current_screen, wp_register_persisted_preferences_meta
Source
function use_ssl_preference( $user ) { ?> <tr class="user-use-ssl-wrap"> <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 }