apply_filters( 'gopp_editor_set_page', int $page, string $filename )

Filters the default PDF preview page setting.

Description

Applies only during initial editor instantiation, or when set_page() is run manually without the $page argument.

set_page() has priority over the filter.

Parameters

$page

The page to render.

$filename

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.