Description
The wsf_action_pdf_default_font filter hook allows you to customize the default font of a PDF when it is generated.
Usage
add_filter( 'wsf_action_pdf_default_font', 'my_hook_function', 10, 4 );
Parameters
Example
// Callback function for the wsf_action_pdf_default_font filter hook
function my_hook_function( $default_font, $form, $submit, $template ) {
// Your code here ...
// Return value
return $default_font;
}
// Add a callback function for the wsf_action_pdf_default_font filter hook
add_filter( 'wsf_action_pdf_default_font', 'my_hook_function', 10, 4 );
Source File
This hook can be found in:<plugin root>/ws-form-pdf.php