関数 force_ssl_admin()
定義ファイル :/blog/wp-includes/functions.php 17
force_ssl_admin()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | /** * Whether to force SSL used for the Administration Screens. * * @since 2.6.0 * * @param string|bool $force Optional. Whether to force SSL in admin screens. Default null. * @return bool True if forced, false if not forced. */ function force_ssl_admin( $force = null ) { static $forced = false; if ( !is_null( $force ) ) { $old_forced = $forced; $forced = $force; return $old_forced; } return $forced; } |