File "set_callback.md"
Full Path: /var/www/html/wordpress/wp-content/plugins/wp-optimize/vendor/simplehtmldom/simplehtmldom/docs/HtmlDocument/set_callback.md
File size: 342 bytes
MIME-type: text/plain
Charset: utf-8
```php
set_callback ( string $function_name )
```
Sets the callback function which is called on each element of the DOM when building outertext.
The function must accept a single parameter of type `HtmlNode`.
| Parameter | Description |
|-----------------|-----------------------|
| `function_name` | Name of the function. |