Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manchumahara/827675e49a73c53596ae729e7d39d440 to your computer and use it in GitHub Desktop.
Save manchumahara/827675e49a73c53596ae729e7d39d440 to your computer and use it in GitHub Desktop.
Php SpreadSheet Library WordPress Plugin https://codeboxr.com/php-spreadsheet-library-wordpress-plugin/
if ( defined('CBXPHPSPREADSHEET_PLUGIN_NAME') && file_exists( CBXPHPSPREADSHEET_ROOT_PATH . 'lib/vendor/autoload.php' ) ) {
//Include PHPExcel
require_once( CBXPHPSPREADSHEET_ROOT_PATH . 'lib/vendor/autoload.php' );
//now take instance
$objPHPExcel = new \PhpOffice\PhpSpreadsheet\Spreadsheet();
//do whatever you need todo
}
@mrl22
Copy link

mrl22 commented Sep 8, 2020

Perfect, thank you for your help! Lifesaver!

@Niloys7
Copy link

Niloys7 commented Sep 30, 2020

Thank you very much Bhai.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment