Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
| <?php | |
| /** | |
| * This is a proof of concept. In real life you would split up the various parts and allow for different cell value | |
| * types. Also read Leviscowles1986's comment below: | |
| * https://gist.github.com/thehelvetian/2e94d60b796735b167dfb1c7560049ae#gistcomment-1822986 | |
| * | |
| * @param array $ary_values An array containing the cell values | |
| * @return bool Request status | |
| */ | |
| function addRowToSpreadsheet($ary_values = array()) { |