gfpdf_settings_general

General Settings.

Description

apply_filters( 'gfpdf_settings_general', (unknown) $default_pdf_size_id_default_pdf_size, (string) $name_esc_html_default_paper_size_gravity_forms_pdf_extended, (string) $desc_esc_html_set_the_default_paper_size_used_when_generating_pdfs_gravity_forms_pdf_extended, (string) $type_select, (string) $options_this_get_paper_size, (string) $inputclass_large, (string) $chosen_true, (string) $class_gfpdf_paper_size, (unknown) $var, (string) $default_custom_pdf_size_id_default_custom_pdf_size, (string) $name_esc_html_custom_paper_size_gravity_forms_pdf_extended, (string) $desc_esc_html_control_the_exact_paper_size_can_be_set_in_millimeters_or_inches_gravity_forms_pdf_extended, (string) $type_paper_size, (string) $size_small, (string) $chosen_true, (string) $required_true, (string) $class_gfpdf_hidden_gfpdf_paper_size_other, (unknown) $var, (string) $default_template_id_default_template, (string) $name_esc_html_default_template_gravity_forms_pdf_extended, (string) $desc_sprintf_esc_html_choose_an_existing_template_or_purchased_more_sfrom_our_theme_shop_s_you_can_also_sbuild_your_own_s_or_shire_us_s_to_create_a_custom_solution_gravity_forms_pdf_extended_a_href_https_gravitypdf_com_shop_a_a_href_https_gravitypdf_com_documentation_v4_developer_start_customising_a_a_href_https_gravitypdf_com_integration_services_a, (string) $type_select, (string) $options_this_templates_get_all_templates_by_group, (string) $std_zadani, (string) $inputclass_large, (string) $chosen_true, (string) $tooltip_h6_esc_html_templates_gravity_forms_pdf_extended_h6_sprintf_esc_html_gravity_pdf_comes_with_sfour_completely_free_and_highly_customizable_designs_s_you_can_also_purchase_additional_templates_from_our_theme_shop_hire_us_to_integrate_existing_pdfs_or_with_a_bit_of_technical_know_how_build_your_own_gravity_forms_pdf_extended_strong_strong, (unknown) $var, (string) $default_font_id_default_font, (string) $name_esc_html_default_font_gravity_forms_pdf_extended, (string) $desc_sprintf_esc_html_set_the_default_font_type_used_in_pdfs_choose_an_existing_font_or_sinstall_your_own_s_gravity_forms_pdf_extended_a_href_this_data_settings_url_tab_tools_manage_fonts_a, (string) $type_select, (string) $options_this_get_installed_fonts, (string) $inputclass_large, (string) $chosen_true, (unknown) $var, (unknown) $var, (string) $default_font_size_id_default_font_size, (string) $name_esc_html_default_font_size_gravity_forms_pdf_extended, (string) $desc_esc_html_set_the_default_font_size_used_in_pdfs_gravity_forms_pdf_extended, (string) $desc2_pt, (string) $type_number, (string) $size_small, (string) $std_10, (unknown) $var, (string) $default_font_colour_id_default_font_colour, (string) $name_esc_html_default_font_color_gravity_forms_pdf_extended, (string) $type_color, (string) $std_000000, (string) $desc_esc_html_set_the_default_font_color_used_in_pdfs_gravity_forms_pdf_extended, (unknown) $var, (string) $default_rtl_id_default_rtl, (string) $name_esc_html_reverse_text_rtl_gravity_forms_pdf_extended, (string) $desc_esc_html_script_like_arabic_and_hebrew_are_written_right_to_left_gravity_forms_pdf_extended, (string) $type_radio, (string) $options_yes_esc_html_yes_gravity_forms_pdf_extended, (string) $no_esc_html_no_gravity_forms_pdf_extended, (unknown) $var, (string) $std_esc_html_no_gravity_forms_pdf_extended, (string) $tooltip_h6_esc_html_reverse_text_rtl_gravity_forms_pdf_extended_h6_esc_html_enable_rtl_if_you_are_writing_in_arabic_hebrew_syriac_n_ko_thaana_tifinar_urdu_or_other_rtl_languages_gravity_forms_pdf_extended, (unknown) $var, (string) $default_action_id_default_action, (string) $name_esc_html_entry_view_gravity_forms_pdf_extended, (unknown) $var, (string) $type_radio, (string) $options_view_esc_html_view_gravity_forms_pdf_extended, (string) $download_esc_html_download_gravity_forms_pdf_extended, (unknown) $var, (string) $std_view, (string) $tooltip_h6_esc_html_entry_view_gravity_forms_pdf_extended_h6_esc_html_choose_to_view_the_pdf_in_your_web_browser_or_download_the_document_to_your_computer_gravity_forms_pdf_extended, (unknown) $var, (string) $update_screen_action_id_update_screen_action, (string) $name_esc_html_show_what_s_new_gravity_forms_pdf_extended, (string) $desc_when_updating_to_a_new_release_we_ll_redirect_you_to_our_what_s_new_page, (string) $type_radio, (string) $options_enable_esc_html_enable_gravity_forms_pdf_extended, (string) $disable_esc_html_disable_gravity_forms_pdf_extended, (unknown) $var, (string) $std_enable, (string) $tooltip_h6_esc_html_show_what_s_new_page_gravity_forms_pdf_extended_h6_esc_html_when_upgrading_gravity_pdf_to_a_new_major_release_4_x_we_ll_automatically_redirect_you_to_our_what_s_new_page_so_you_can_see_the_changes_bug_fix_and_security_releases_are_excluded_4_x_x_gravity_forms_pdf_extended, (unknown) $var, (unknown) $var ); 

See https://gravitypdf.com/documentation/v4/gfpdf_settings_general/ for more details about this filter

Parameters (82)

0. $default_pdf_size_id_default_pdf_size — Optional. (unknown) => [ 'default_pdf_size' => [ 'id' => 'default_pdf_size'
The default pdf size id default pdf size.
1. $name_esc_html_default_paper_size_gravity_forms_pdf_extended — Optional. (string) => 'name' => esc_html__( 'Default Paper Size', 'gravity-forms-pdf-extended' )
The name esc html default paper size gravity forms pdf extended.
2. $desc_esc_html_set_the_default_paper_size_used_when_generating_pdfs_gravity_forms_pdf_extended — Optional. (string) => 'desc' => esc_html__( 'Set the default paper size used when generating PDFs.', 'gravity-forms-pdf-extended' )
The desc esc html set the default paper size used when generating pdfs gravity forms pdf extended.
3. $type_select — Optional. (string) => 'type' => 'select'
The type select.
4. $options_this_get_paper_size — Optional. (string) => 'options' => $this->get_paper_size()
The options this get paper size.
5. $inputclass_large — Optional. (string) => 'inputClass' => 'large'
The inputclass large.
6. $chosen_true — Optional. (string) => 'chosen' => true
The chosen true.
7. $class_gfpdf_paper_size — Optional. (string) => 'class' => 'gfpdf_paper_size'
The class gfpdf paper size.
8. $var (unknown) => ]
The var.
9. $default_custom_pdf_size_id_default_custom_pdf_size — Optional. (string) => 'default_custom_pdf_size' => [ 'id' => 'default_custom_pdf_size'
The default custom pdf size id default custom pdf size.
10. $name_esc_html_custom_paper_size_gravity_forms_pdf_extended — Optional. (string) => 'name' => esc_html__( 'Custom Paper Size', 'gravity-forms-pdf-extended' )
The name esc html custom paper size gravity forms pdf extended.
11. $desc_esc_html_control_the_exact_paper_size_can_be_set_in_millimeters_or_inches_gravity_forms_pdf_extended — Optional. (string) => 'desc' => esc_html__( 'Control the exact paper size. Can be set in millimeters or inches.', 'gravity-forms-pdf-extended' )
The desc esc html control the exact paper size can be set in millimeters or inches gravity forms pdf extended.
12. $type_paper_size — Optional. (string) => 'type' => 'paper_size'
The type paper size.
13. $size_small — Optional. (string) => 'size' => 'small'
The size small.
14. $chosen_true — Optional. (string) => 'chosen' => true
The chosen true.
15. $required_true — Optional. (string) => 'required' => true
The required true.
16. $class_gfpdf_hidden_gfpdf_paper_size_other — Optional. (string) => 'class' => 'gfpdf-hidden gfpdf_paper_size_other'
The class gfpdf hidden gfpdf paper size other.
17. $var (unknown) => ]
The var.
18. $default_template_id_default_template — Optional. (string) => 'default_template' => [ 'id' => 'default_template'
The default template id default template.
19. $name_esc_html_default_template_gravity_forms_pdf_extended — Optional. (string) => 'name' => esc_html__( 'Default Template', 'gravity-forms-pdf-extended' )
The name esc html default template gravity forms pdf extended.
20. $desc_sprintf_esc_html_choose_an_existing_template_or_purchased_more_sfrom_our_theme_shop_s_you_can_also_sbuild_your_own_s_or_shire_us_s_to_create_a_custom_solution_gravity_forms_pdf_extended_a_href_https_gravitypdf_com_shop_a_a_href_https_gravitypdf_com_documentation_v4_developer_start_customising_a_a_href_https_gravitypdf_com_integration_services_a — Optional. (string) => 'desc' => sprintf( esc_html__( 'Choose an existing template or purchased more %sfrom our theme shop%s. You can also %sbuild your own%s or %shire us%s to create a custom solution.', 'gravity-forms-pdf-extended' ), '', '', '', '', '', '' )
The desc sprintf esc html choose an existing template or purchased more sfrom our theme shop s you can also sbuild your own s or shire us s to create a custom solution gravity forms pdf extended a href https gravitypdf com shop a a href https gravitypdf com documentation v4 developer start customising a a href https gravitypdf com integration services a.
21. $type_select — Optional. (string) => 'type' => 'select'
The type select.
22. $options_this_templates_get_all_templates_by_group — Optional. (string) => 'options' => $this->templates->get_all_templates_by_group()
The options this templates get all templates by group.
23. $std_zadani — Optional. (string) => 'std' => 'zadani'
The std zadani.
24. $inputclass_large — Optional. (string) => 'inputClass' => 'large'
The inputclass large.
25. $chosen_true — Optional. (string) => 'chosen' => true
The chosen true.
26. $tooltip_h6_esc_html_templates_gravity_forms_pdf_extended_h6_sprintf_esc_html_gravity_pdf_comes_with_sfour_completely_free_and_highly_customizable_designs_s_you_can_also_purchase_additional_templates_from_our_theme_shop_hire_us_to_integrate_existing_pdfs_or_with_a_bit_of_technical_know_how_build_your_own_gravity_forms_pdf_extended_strong_strong — Optional. (string) => 'tooltip' => '
' . esc_html__( 'Templates', 'gravity-forms-pdf-extended' ) . '
' . sprintf( esc_html__( 'Gravity PDF comes with %sfour completely-free and highly customizable designs%s. You can also purchase additional templates from our theme shop, hire us to integrate existing PDFs or, with a bit of technical know-how, build your own.', 'gravity-forms-pdf-extended' ), '', '' )
The tooltip h6 esc html templates gravity forms pdf extended h6 sprintf esc html gravity pdf comes with sfour completely free and highly customizable designs s you can also purchase additional templates from our theme shop hire us to integrate existing pdfs or with a bit of technical know how build your own gravity forms pdf extended strong strong.
27. $var (unknown) => ]
The var.
28. $default_font_id_default_font — Optional. (string) => 'default_font' => [ 'id' => 'default_font'
The default font id default font.
29. $name_esc_html_default_font_gravity_forms_pdf_extended — Optional. (string) => 'name' => esc_html__( 'Default Font', 'gravity-forms-pdf-extended' )
The name esc html default font gravity forms pdf extended.
30. $desc_sprintf_esc_html_set_the_default_font_type_used_in_pdfs_choose_an_existing_font_or_sinstall_your_own_s_gravity_forms_pdf_extended_a_href_this_data_settings_url_tab_tools_manage_fonts_a — Optional. (string) => 'desc' => sprintf( esc_html__( 'Set the default font type used in PDFs. Choose an existing font or %sinstall your own%s.', 'gravity-forms-pdf-extended' ), '', '' )
The desc sprintf esc html set the default font type used in pdfs choose an existing font or sinstall your own s gravity forms pdf extended a href this data settings url tab tools manage fonts a.
31. $type_select — Optional. (string) => 'type' => 'select'
The type select.
32. $options_this_get_installed_fonts — Optional. (string) => 'options' => $this->get_installed_fonts()
The options this get installed fonts.
33. $inputclass_large — Optional. (string) => 'inputClass' => 'large'
The inputclass large.
34. $chosen_true — Optional. (string) => 'chosen' => true
The chosen true.
35. $var — Optional. (string) => 'tooltip' => '
' . esc_html__( 'Fonts', 'gravity-forms-pdf-extended' ) . '
' . esc_html__( 'Gravity PDF comes bundled with fonts for most languages world-wide. Want to use a specific font type? Use the font installer (found in the Tools tab).', 'gravity-forms-pdf-extended' )
The tooltip h6 esc html fonts gravity forms pdf extended h6 esc html gravity pdf comes bundled with fonts for most languages world wide want to use a specific font type use the font installer found in the tools tab gravity forms pdf extended.
36. $var (unknown) => ]
The var.
37. $default_font_size_id_default_font_size — Optional. (string) => 'default_font_size' => [ 'id' => 'default_font_size'
The default font size id default font size.
38. $name_esc_html_default_font_size_gravity_forms_pdf_extended — Optional. (string) => 'name' => esc_html__( 'Default Font Size', 'gravity-forms-pdf-extended' )
The name esc html default font size gravity forms pdf extended.
39. $desc_esc_html_set_the_default_font_size_used_in_pdfs_gravity_forms_pdf_extended — Optional. (string) => 'desc' => esc_html__( 'Set the default font size used in PDFs.', 'gravity-forms-pdf-extended' )
The desc esc html set the default font size used in pdfs gravity forms pdf extended.
40. $desc2_pt — Optional. (string) => 'desc2' => 'pt'
The desc2 pt.
41. $type_number — Optional. (string) => 'type' => 'number'
The type number.
42. $size_small — Optional. (string) => 'size' => 'small'
The size small.
43. $std_10 — Optional. (string) => 'std' => 10
The std 10.
44. $var (unknown) => ]
The var.
45. $default_font_colour_id_default_font_colour — Optional. (string) => 'default_font_colour' => [ 'id' => 'default_font_colour'
The default font colour id default font colour.
46. $name_esc_html_default_font_color_gravity_forms_pdf_extended — Optional. (string) => 'name' => esc_html__( 'Default Font Color', 'gravity-forms-pdf-extended' )
The name esc html default font color gravity forms pdf extended.
47. $type_color — Optional. (string) => 'type' => 'color'
The type color.
48. $std_000000 — Optional. (string) => 'std' => '#000000'
The std 000000.
49. $desc_esc_html_set_the_default_font_color_used_in_pdfs_gravity_forms_pdf_extended — Optional. (string) => 'desc' => esc_html__( 'Set the default font color used in PDFs.', 'gravity-forms-pdf-extended' )
The desc esc html set the default font color used in pdfs gravity forms pdf extended.
50. $var (unknown) => ]
The var.
51. $default_rtl_id_default_rtl — Optional. (string) => 'default_rtl' => [ 'id' => 'default_rtl'
The default rtl id default rtl.
52. $name_esc_html_reverse_text_rtl_gravity_forms_pdf_extended — Optional. (string) => 'name' => esc_html__( 'Reverse Text (RTL)', 'gravity-forms-pdf-extended' )
The name esc html reverse text rtl gravity forms pdf extended.
53. $desc_esc_html_script_like_arabic_and_hebrew_are_written_right_to_left_gravity_forms_pdf_extended — Optional. (string) => 'desc' => esc_html__( 'Script like Arabic and Hebrew are written right to left.', 'gravity-forms-pdf-extended' )
The desc esc html script like arabic and hebrew are written right to left gravity forms pdf extended.
54. $type_radio — Optional. (string) => 'type' => 'radio'
The type radio.
55. $options_yes_esc_html_yes_gravity_forms_pdf_extended — Optional. (string) => 'options' => [ 'Yes' => esc_html__( 'Yes', 'gravity-forms-pdf-extended' )
The options yes esc html yes gravity forms pdf extended.
56. $no_esc_html_no_gravity_forms_pdf_extended — Optional. (string) => 'No' => esc_html__( 'No', 'gravity-forms-pdf-extended' )
The no esc html no gravity forms pdf extended.
57. $var (unknown) => ]
The var.
58. $std_esc_html_no_gravity_forms_pdf_extended — Optional. (string) => 'std' => esc_html__( 'No', 'gravity-forms-pdf-extended' )
The std esc html no gravity forms pdf extended.
59. $tooltip_h6_esc_html_reverse_text_rtl_gravity_forms_pdf_extended_h6_esc_html_enable_rtl_if_you_are_writing_in_arabic_hebrew_syriac_n_ko_thaana_tifinar_urdu_or_other_rtl_languages_gravity_forms_pdf_extended — Optional. (string) => 'tooltip' => '
' . esc_html__( 'Reverse Text (RTL)', 'gravity-forms-pdf-extended' ) . '
' . esc_html__( "Enable RTL if you are writing in Arabic, Hebrew, Syriac, N'ko, Thaana, Tifinar, Urdu or other RTL languages.", 'gravity-forms-pdf-extended' )
The tooltip h6 esc html reverse text rtl gravity forms pdf extended h6 esc html enable rtl if you are writing in arabic hebrew syriac n ko thaana tifinar urdu or other rtl languages gravity forms pdf extended.
60. $var (unknown) => ]
The var.
61. $default_action_id_default_action — Optional. (string) => 'default_action' => [ 'id' => 'default_action'
The default action id default action.
62. $name_esc_html_entry_view_gravity_forms_pdf_extended — Optional. (string) => 'name' => esc_html__( 'Entry View', 'gravity-forms-pdf-extended' )
The name esc html entry view gravity forms pdf extended.
63. $var — Optional. (string) => 'desc' => sprintf( esc_html__( 'Select the default action used when accessing a PDF from the %sGravity Forms entries list%s page.', 'gravity-forms-pdf-extended' ), '', '' )
The desc sprintf esc html select the default action used when accessing a pdf from the sgravity forms entries list s page gravity forms pdf extended a href admin url admin php page gf entries a.
64. $type_radio — Optional. (string) => 'type' => 'radio'
The type radio.
65. $options_view_esc_html_view_gravity_forms_pdf_extended — Optional. (string) => 'options' => [ 'View' => esc_html__( 'View', 'gravity-forms-pdf-extended' )
The options view esc html view gravity forms pdf extended.
66. $download_esc_html_download_gravity_forms_pdf_extended — Optional. (string) => 'Download' => esc_html__( 'Download', 'gravity-forms-pdf-extended' )
The download esc html download gravity forms pdf extended.
67. $var (unknown) => ]
The var.
68. $std_view — Optional. (string) => 'std' => 'View'
The std view.
69. $tooltip_h6_esc_html_entry_view_gravity_forms_pdf_extended_h6_esc_html_choose_to_view_the_pdf_in_your_web_browser_or_download_the_document_to_your_computer_gravity_forms_pdf_extended — Optional. (string) => 'tooltip' => '
' . esc_html__( 'Entry View', 'gravity-forms-pdf-extended' ) . '
' . esc_html__( 'Choose to view the PDF in your web browser or download the document to your computer.', 'gravity-forms-pdf-extended' )
The tooltip h6 esc html entry view gravity forms pdf extended h6 esc html choose to view the pdf in your web browser or download the document to your computer gravity forms pdf extended.
70. $var (unknown) => ]
The var.
71. $update_screen_action_id_update_screen_action — Optional. (string) => 'update_screen_action' => [ 'id' => 'update_screen_action'
The update screen action id update screen action.
72. $name_esc_html_show_what_s_new_gravity_forms_pdf_extended — Optional. (string) => 'name' => esc_html__( "Show What's New", 'gravity-forms-pdf-extended' )
The name esc html show what s new gravity forms pdf extended.
73. $desc_when_updating_to_a_new_release_we_ll_redirect_you_to_our_what_s_new_page — Optional. (string) => 'desc' => "When updating to a new release we'll redirect you to our What's New page."
The desc when updating to a new release we ll redirect you to our what s new page.
74. $type_radio — Optional. (string) => 'type' => 'radio'
The type radio.
75. $options_enable_esc_html_enable_gravity_forms_pdf_extended — Optional. (string) => 'options' => [ 'Enable' => esc_html__( 'Enable', 'gravity-forms-pdf-extended' )
The options enable esc html enable gravity forms pdf extended.
76. $disable_esc_html_disable_gravity_forms_pdf_extended — Optional. (string) => 'Disable' => esc_html__( 'Disable', 'gravity-forms-pdf-extended' )
The disable esc html disable gravity forms pdf extended.
77. $var (unknown) => ]
The var.
78. $std_enable — Optional. (string) => 'std' => 'Enable'
The std enable.
79. $tooltip_h6_esc_html_show_what_s_new_page_gravity_forms_pdf_extended_h6_esc_html_when_upgrading_gravity_pdf_to_a_new_major_release_4_x_we_ll_automatically_redirect_you_to_our_what_s_new_page_so_you_can_see_the_changes_bug_fix_and_security_releases_are_excluded_4_x_x_gravity_forms_pdf_extended — Optional. (string) => 'tooltip' => '
' . esc_html__( "Show What's New Page", 'gravity-forms-pdf-extended' ) . '
' . esc_html__( "When upgrading Gravity PDF to a new major release (4.x) we'll automatically redirect you to our What's New page so you can see the changes. Bug fix and security releases are excluded (4.x.x).", 'gravity-forms-pdf-extended' )
The tooltip h6 esc html show what s new page gravity forms pdf extended h6 esc html when upgrading gravity pdf to a new major release 4 x we ll automatically redirect you to our what s new page so you can see the changes bug fix and security releases are excluded 4 x x gravity forms pdf extended.
80. $var (unknown) => ]
The var.
81. $var (unknown) => ]
The var.

Usage

To run the hook, copy the example below.
  1. $default_pdf_size_id_default_pdf_size = apply_filters( 'gfpdf_settings_general', $default_pdf_size_id_default_pdf_size, $name_esc_html_default_paper_size_gravity_forms_pdf_extended, $desc_esc_html_set_the_default_paper_size_used_when_generating_pdfs_gravity_forms_pdf_extended, $type_select, $options_this_get_paper_size, $inputclass_large, $chosen_true, $class_gfpdf_paper_size, $var, $default_custom_pdf_size_id_default_custom_pdf_size, $name_esc_html_custom_paper_size_gravity_forms_pdf_extended, $desc_esc_html_control_the_exact_paper_size_can_be_set_in_millimeters_or_inches_gravity_forms_pdf_extended, $type_paper_size, $size_small, $chosen_true, $required_true, $class_gfpdf_hidden_gfpdf_paper_size_other, $var, $default_template_id_default_template, $name_esc_html_default_template_gravity_forms_pdf_extended, $desc_sprintf_esc_html_choose_an_existing_template_or_purchased_more_sfrom_our_theme_shop_s_you_can_also_sbuild_your_own_s_or_shire_us_s_to_create_a_custom_solution_gravity_forms_pdf_extended_a_href_https_gravitypdf_com_shop_a_a_href_https_gravitypdf_com_documentation_v4_developer_start_customising_a_a_href_https_gravitypdf_com_integration_services_a, $type_select, $options_this_templates_get_all_templates_by_group, $std_zadani, $inputclass_large, $chosen_true, $tooltip_h6_esc_html_templates_gravity_forms_pdf_extended_h6_sprintf_esc_html_gravity_pdf_comes_with_sfour_completely_free_and_highly_customizable_designs_s_you_can_also_purchase_additional_templates_from_our_theme_shop_hire_us_to_integrate_existing_pdfs_or_with_a_bit_of_technical_know_how_build_your_own_gravity_forms_pdf_extended_strong_strong, $var, $default_font_id_default_font, $name_esc_html_default_font_gravity_forms_pdf_extended, $desc_sprintf_esc_html_set_the_default_font_type_used_in_pdfs_choose_an_existing_font_or_sinstall_your_own_s_gravity_forms_pdf_extended_a_href_this_data_settings_url_tab_tools_manage_fonts_a, $type_select, $options_this_get_installed_fonts, $inputclass_large, $chosen_true, $var, $var, $default_font_size_id_default_font_size, $name_esc_html_default_font_size_gravity_forms_pdf_extended, $desc_esc_html_set_the_default_font_size_used_in_pdfs_gravity_forms_pdf_extended, $desc2_pt, $type_number, $size_small, $std_10, $var, $default_font_colour_id_default_font_colour, $name_esc_html_default_font_color_gravity_forms_pdf_extended, $type_color, $std_000000, $desc_esc_html_set_the_default_font_color_used_in_pdfs_gravity_forms_pdf_extended, $var, $default_rtl_id_default_rtl, $name_esc_html_reverse_text_rtl_gravity_forms_pdf_extended, $desc_esc_html_script_like_arabic_and_hebrew_are_written_right_to_left_gravity_forms_pdf_extended, $type_radio, $options_yes_esc_html_yes_gravity_forms_pdf_extended, $no_esc_html_no_gravity_forms_pdf_extended, $var, $std_esc_html_no_gravity_forms_pdf_extended, $tooltip_h6_esc_html_reverse_text_rtl_gravity_forms_pdf_extended_h6_esc_html_enable_rtl_if_you_are_writing_in_arabic_hebrew_syriac_n_ko_thaana_tifinar_urdu_or_other_rtl_languages_gravity_forms_pdf_extended, $var, $default_action_id_default_action, $name_esc_html_entry_view_gravity_forms_pdf_extended, $var, $type_radio, $options_view_esc_html_view_gravity_forms_pdf_extended, $download_esc_html_download_gravity_forms_pdf_extended, $var, $std_view, $tooltip_h6_esc_html_entry_view_gravity_forms_pdf_extended_h6_esc_html_choose_to_view_the_pdf_in_your_web_browser_or_download_the_document_to_your_computer_gravity_forms_pdf_extended, $var, $update_screen_action_id_update_screen_action, $name_esc_html_show_what_s_new_gravity_forms_pdf_extended, $desc_when_updating_to_a_new_release_we_ll_redirect_you_to_our_what_s_new_page, $type_radio, $options_enable_esc_html_enable_gravity_forms_pdf_extended, $disable_esc_html_disable_gravity_forms_pdf_extended, $var, $std_enable, $tooltip_h6_esc_html_show_what_s_new_page_gravity_forms_pdf_extended_h6_esc_html_when_upgrading_gravity_pdf_to_a_new_major_release_4_x_we_ll_automatically_redirect_you_to_our_what_s_new_page_so_you_can_see_the_changes_bug_fix_and_security_releases_are_excluded_4_x_x_gravity_forms_pdf_extended, $var, $var ); 
  2.  
  3. if ( !empty( $default_pdf_size_id_default_pdf_size ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the gfpdf_settings_general callback 
  2. function filter_gfpdf_settings_general( $default_pdf_size_id_default_pdf_size, $name_esc_html_default_paper_size_gravity_forms_pdf_extended, $desc_esc_html_set_the_default_paper_size_used_when_generating_pdfs_gravity_forms_pdf_extended, $type_select, $options_this_get_paper_size, $inputclass_large, $chosen_true, $class_gfpdf_paper_size, $var, $default_custom_pdf_size_id_default_custom_pdf_size, $name_esc_html_custom_paper_size_gravity_forms_pdf_extended, $desc_esc_html_control_the_exact_paper_size_can_be_set_in_millimeters_or_inches_gravity_forms_pdf_extended, $type_paper_size, $size_small, $chosen_true, $required_true, $class_gfpdf_hidden_gfpdf_paper_size_other, $var, $default_template_id_default_template, $name_esc_html_default_template_gravity_forms_pdf_extended, $desc_sprintf_esc_html_choose_an_existing_template_or_purchased_more_sfrom_our_theme_shop_s_you_can_also_sbuild_your_own_s_or_shire_us_s_to_create_a_custom_solution_gravity_forms_pdf_extended_a_href_https_gravitypdf_com_shop_a_a_href_https_gravitypdf_com_documentation_v4_developer_start_customising_a_a_href_https_gravitypdf_com_integration_services_a, $type_select, $options_this_templates_get_all_templates_by_group, $std_zadani, $inputclass_large, $chosen_true, $tooltip_h6_esc_html_templates_gravity_forms_pdf_extended_h6_sprintf_esc_html_gravity_pdf_comes_with_sfour_completely_free_and_highly_customizable_designs_s_you_can_also_purchase_additional_templates_from_our_theme_shop_hire_us_to_integrate_existing_pdfs_or_with_a_bit_of_technical_know_how_build_your_own_gravity_forms_pdf_extended_strong_strong, $var, $default_font_id_default_font, $name_esc_html_default_font_gravity_forms_pdf_extended, $desc_sprintf_esc_html_set_the_default_font_type_used_in_pdfs_choose_an_existing_font_or_sinstall_your_own_s_gravity_forms_pdf_extended_a_href_this_data_settings_url_tab_tools_manage_fonts_a, $type_select, $options_this_get_installed_fonts, $inputclass_large, $chosen_true, $var, $var, $default_font_size_id_default_font_size, $name_esc_html_default_font_size_gravity_forms_pdf_extended, $desc_esc_html_set_the_default_font_size_used_in_pdfs_gravity_forms_pdf_extended, $desc2_pt, $type_number, $size_small, $std_10, $var, $default_font_colour_id_default_font_colour, $name_esc_html_default_font_color_gravity_forms_pdf_extended, $type_color, $std_000000, $desc_esc_html_set_the_default_font_color_used_in_pdfs_gravity_forms_pdf_extended, $var, $default_rtl_id_default_rtl, $name_esc_html_reverse_text_rtl_gravity_forms_pdf_extended, $desc_esc_html_script_like_arabic_and_hebrew_are_written_right_to_left_gravity_forms_pdf_extended, $type_radio, $options_yes_esc_html_yes_gravity_forms_pdf_extended, $no_esc_html_no_gravity_forms_pdf_extended, $var, $std_esc_html_no_gravity_forms_pdf_extended, $tooltip_h6_esc_html_reverse_text_rtl_gravity_forms_pdf_extended_h6_esc_html_enable_rtl_if_you_are_writing_in_arabic_hebrew_syriac_n_ko_thaana_tifinar_urdu_or_other_rtl_languages_gravity_forms_pdf_extended, $var, $default_action_id_default_action, $name_esc_html_entry_view_gravity_forms_pdf_extended, $var, $type_radio, $options_view_esc_html_view_gravity_forms_pdf_extended, $download_esc_html_download_gravity_forms_pdf_extended, $var, $std_view, $tooltip_h6_esc_html_entry_view_gravity_forms_pdf_extended_h6_esc_html_choose_to_view_the_pdf_in_your_web_browser_or_download_the_document_to_your_computer_gravity_forms_pdf_extended, $var, $update_screen_action_id_update_screen_action, $name_esc_html_show_what_s_new_gravity_forms_pdf_extended, $desc_when_updating_to_a_new_release_we_ll_redirect_you_to_our_what_s_new_page, $type_radio, $options_enable_esc_html_enable_gravity_forms_pdf_extended, $disable_esc_html_disable_gravity_forms_pdf_extended, $var, $std_enable, $tooltip_h6_esc_html_show_what_s_new_page_gravity_forms_pdf_extended_h6_esc_html_when_upgrading_gravity_pdf_to_a_new_major_release_4_x_we_ll_automatically_redirect_you_to_our_what_s_new_page_so_you_can_see_the_changes_bug_fix_and_security_releases_are_excluded_4_x_x_gravity_forms_pdf_extended, $var, $var ) { 
  3. // make filter magic happen here... 
  4. return $default_pdf_size_id_default_pdf_size
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'gfpdf_settings_general', 'filter_gfpdf_settings_general', 10, 82 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'gfpdf_settings_general', 'filter_gfpdf_settings_general', 10, 82 ); 

Defined (1)

The filter is defined in the following location(s).

/src/helper/Helper_Options_Fields.php  
  1. 'general' => apply_filters( 'gfpdf_settings_general',