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