# PdfMaker Custom Functions

Custom functions can be added in the PDFMaker module. To insert one use:

```PHP
SDK::setPDFCustomFunction($label, $name, $params);
```

*$label: the label of the function (it is translated into the PDFMaker module)*  
*$name: the name of the function*  
*$params: array with the names of the function parameters*

<p class="callout warning">Registered functions must be saved in php files in modules/PDFMaker/functions/ to be used by the PDFMaker module</p>

To remove the function:

```PHP
SDK::unsetPDFCustomFunction($name);
```

*$name: the name of the function*