Snippets
Replace placeholders in all targets
By default, phpxlsx template methods replace placeholders in the sharedStrings content. To replace in other contents of the spreadsheet you must set it in the target option.
The following code replaces placeholders in all targets:
This snippet can be used along with other placeholder replacement methods.