get( 'force_lang' ) ) { return false; } /** @var bool|WP_Error */ return parent::sanitize( $value, $options ); } /** * 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. */ __( 'Remove the language code in URL for the default language: %1$s to hide, %2$s to display.', 'polylang' ), '`true`', '`false`' ); } }