fg_fillablepdfs_display_all_templates

Description

This filter allows you to only show templates created on the current site in the Templates list and in the Select Template drop down in the feed settings.

Usage

PHP
add_filter( 'fg_fillablepdfs_display_all_templates', 'your_function_name', 10, 1 );

Parameters

  • $display_all_templates bool
    Display all templates for license. Defaults to true.

Examples

Only Show Templates Created On Current Site

This example will hide any templates associated with the current license that were not created on the current site.

PHP
add_filter( 'fg_fillablepdfs_display_all_templates', '__return_false' );

Since

This filter was added in Fillable PDFs 2.3.5.