apply_filters( 'gopp_editor_set_resolution', int $resolution , string $filename )
Filters the default PDF preview resolution setting.
Description
Applies only during initial editor instantiation, or when set_resolution() is run manually without the $resolution
argument.
set_resolution() has priority over the filter.
Parameters
- $resolution
-
Resolution (DPI) of the PDF preview thumbnail.
- $filename
-
The PDF file name.
Source
Changelog
Version | Description |
---|---|
BuddyBoss 1.4.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.