get( 'force_lang' ) && ! class_exists( 'PLL_Xdata_Domain', true ) ) { // Cannot share cookies between domains without Polylang Pro. return false; } /** @var bool|WP_Error */ $value = parent::sanitize( $value, $options ); return $value; } /** * Returns the description used in the JSON schema. * * @since 3.7 * * @return string */ protected function get_description(): string { return sprintf( /* translators: %1$s and %2$s are "true/false" values. */ __( 'Detect preferred browser language on front page: %1$s to detect, %2$s to not detect.', 'polylang' ), '`true`', '`false`' ); } }