gpr_restructure_pages

  1. Description
  2. Usage
  3. Parameters
  4. Since

Description

Filters whether empty pages should be removed and retained pages be re-numbered from 1 after randomization.

Usage

Applied globally

add_filter( 'gpr_restructure_pages', 'my_custom_function' );

Applied to specific form

add_filter( 'gpr_restructure_pages_FORMID', 'my_custom_function' );

Parameters

$restructure_pages boolean

Should the pages be restructured?

$form array

The form object.

Since

  • 2.0 Hook added.