$view Prepared by Admin::render(). */ use CodingCush\LoginGuard\Log; defined( 'ABSPATH' ) || exit; $cclg_v = $view['values']; $cclg_admin = $view['admin']; $cclg_name = static function ( $key ) { return CCLG_OPTION . '[' . $key . ']'; }; $cclg_ev = Log::events(); $cclg_fmt = get_option( 'date_format' ) . ' ' . get_option( 'time_format' ); $cclg_time = static function ( $gmt ) use ( $cclg_fmt ) { return $gmt ? wp_date( $cclg_fmt, strtotime( $gmt . ' UTC' ) ) : ''; }; $cclg_num = static function ( $key, $label, $hint, $suffix = '' ) use ( $cclg_v, $cclg_name ) { $schema = CodingCush\LoginGuard\Settings::schema()[ $key ]; ?>
|
button( 'unlock', __( 'Unlock', 'codingcush-login-guard' ), array( 'ip' => (string) $cclg_row['ip'] ) ); ?> |
|
→