# phastpress/3.12/functions/api.php

PhastPress, version 3.12. 6 lines.

- Page: https://pluginprobe.com/plugins/phastpress/3.12/code/functions/api.php
- Raw: https://pluginprobe.com/plugins/phastpress/3.12/raw/functions/api.php
- Modified: 2021-03-04T08:04:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/phastpress/3.12/code/functions/api.php#L10-L20`.

```php
<?php

function phastpress_optimize_snippet($html) {
    return phastpress_get_plugin_sdk()->getPhastAPI()->applyFiltersForSnippets((string) $html);
}

```
