fg_entryautomation_pdf_template_entry

Description

This filter is allows you to change the path of the template used for the PDF export file entry.

Usage

add_filter( 'fg_entryautomation_pdf_template_entry', 'your_function_name', 10, 3 );

Parameters

Examples

This example will change the path used for the PDF export file entry to point to a custom file within your active theme. You will need to replace /remaining/path/to/yourfile.php with the path to the template file relative to your active theme root.

add_filter( 'fg_entryautomation_pdf_template_entry', function( $template_entry, $task, $form ) {

    $template_entry = get_stylesheet_directory() . '/remaining/path/to/yourfile.php';
    return $template_entry;

}, 10, 3 );

Since

This filter was added in Entry Automation version 2.0.0.