fg_legalsigning_display_all_templates

Description

By default, Legal Signing displays all templates associated with a license key globally wherever that license key is in use.

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

add_filter( 'fg_legalsigning_display_all_templates', 'your_function_name', 10, 1 );

Parameters

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.

add_filter( 'fg_legalsigning_display_all_templates', '__return_false' );

Since

This filter was added in Legal Signing 1.0.