File ManagerCurrent Directory: wp-content/plugins/wpforms/src/Pro/HelpersLinux appserver-7a7af3b2-php-0c9ec09e2f9746c2a80fa3756c076432 6.12.94+ #1 SMP Fri Jul 17 09:26:56 UTC 2026 x86_64Edit File: CSV.php <?php namespace WPForms\Pro\Helpers; /** * CSV related helper methods. * * @since 1.7.7 */ class CSV { /** * Formulas start characters. * * @since 1.7.7 * * @var array */ const FORMULAS_START_CHARS = [ '=', '-', '+', '@', "\t", "\r" ]; /** * Escape string for CSV. * * @since 1.7.7 * * @param mixed $value Value to escape. * * @return string */ public function escape_value( $value ) { // Prevent formulas in spreadsheet applications. if ( in_array( substr( (string) $value, 0, 1 ), self::FORMULAS_START_CHARS, true ) ) { $value = "'" . $value; } return html_entity_decode( $value, ENT_QUOTES ); } } Upload File Directory Listing NameTypeSizeActions.. (Parent Directory)DirCSV.phpFile654.00 B Rename | Delete | EditUpload.phpFile11.08 KB Rename | Delete | Edit