$table Table to be exported. * @param array $options Format-specific options for the export. * @return string Exported table. */ public function export( array $table, array $options = array() ): string { $output = wp_json_encode( $table, TABLEPRESS_JSON_OPTIONS ); if ( false === $output ) { $output = ''; } return $output; } } // class JSON_Exporter