wordpress/wp-content/plugins/advanced-custom-fields-table-field/acf-table-v4.php
/**
		* table_slash()
		*
		* Add slashes to a string or strings in an array.
		*
		* This should be used instead of wp_slash() because wp_slash() convertes all
		* array values to strings which affects also the table object values of
		* type number converting to string.
		*/
table_slash()
Add slashes to a string or strings in an array.

This should be used instead of wp_slash() because wp_slash() convertes all
array values to strings which affects also the table object values of
type number converting to string.
table_slash () Add slashes to a string or strings in an array . This should be used instead of wp_slash () because wp_slash () convertes all array values to strings which affects also the table object values of type number converting to string .
function table_slash( $value ) {
			if ( is_array( $value ) ) {
				foreach ( $value as $k => $v ) {
					if (
						is_array( $v ) OR
						is_object( $v )
					) {
						$value[ $k ] = $this->table_slash( $v );
					}
					else if( is_string( $v ) ) {
						$value[ $k ] = addslashes( $v );
					}
					else {
						$value[ $k ] = $v;
					}
				}
			} else {
				$value = addslashes( $value );
			}
			return $value;
		}
function table_slash ( $ value ) { if ( is_array ( $ value ) ) { foreach ( $ value as $ k => $ v ) { if ( is_array ( $ v ) OR is_object ( $ v ) ) { $ value [ $ k ] = $ this -> table_slash ( $ v ) ; } else if ( is_string ( $ v ) ) { $ value [ $ k ] = addslashes ( $ v ) ; } else { $ value [ $ k ] = $ v ; } } } else { $ value = addslashes ( $ value ) ; } return $ value ; }
table_slash()
 Add slashes to a string or strings in an array.
table_slash () Add slashes to a string or strings in an array .