Switch language

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




force_ssl_admin [ WordPress Function ]

force_ssl_admin ( $force = null )
Parameters:
  • (string|bool) $force
Returns:
  • (bool) True if forced, false if not forced.
Defined at:



Whether to force SSL used for the Administration Screens.

Source


<?php
function force_ssl_admin$force null ) {
    static 
$forced false;

    if ( !
is_null$force ) ) {
        
$old_forced $forced;
        
$forced $force;
        return 
$old_forced;
    }

    return 
$forced;
}
?>

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