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
PHP
add_filter( 'fg_legalsigning_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_legalsigning_display_all_templates', '__return_false' );
Since
This filter was added in Legal Signing 1.0.