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

(int) Resolution (DPI) of the PDF preview thumbnail.

$filename

(string) The PDF file name.

Source

File: bp-document/classes/class-bp-gopp-image-editor-gs.php

Changelog

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.