Account_Settings::render_allow_global_logins_field()
Summary
No summary available.Source
File: src/BigCommerce/Settings/Sections/Account_Settings.php
public function render_allow_global_logins_field() { $value = (bool) get_option( self::ALLOW_GLOBAL_LOGINS, false ); $checkbox = sprintf( '<input id="field-%s" type="checkbox" value="1" class="regular-text code" name="%s" %s />', esc_attr( self::ALLOW_GLOBAL_LOGINS ), esc_attr( self::ALLOW_GLOBAL_LOGINS ), checked( true, $value, false ) ); printf( '<p class="description">%s %s</p>', $checkbox, esc_html( __( 'Allow all future customers global login access across all your storefronts.', 'bigcommerce' ) ) ); }