gfpdf_localised_script_array

See https://gravitypdf.

Description

apply_filters( 'gfpdf_localised_script_array', (unknown) $ajaxurl_admin_url_admin_ajax_php, (string) $ajaxnonce_wp_create_nonce_gfpdf_ajax_nonce, (string) $currentversion_pdf_extended_version, (string) $pdfworkingdir_pdf_template_location, (string) $customfontdata_json_encode_custom_fonts, (string) $spinnerurl_admin_url_images_spinner_2x_gif, (string) $spinneralt_esc_html_loading_gravity_forms_pdf_extended, (string) $continue_esc_html_continue_gravity_forms_pdf_extended, (string) $uninstall_esc_html_uninstall_gravity_forms_pdf_extended, (string) $cancel_esc_html_cancel_gravity_forms_pdf_extended, (string) $delete_esc_html_delete_gravity_forms_pdf_extended, (string) $active_esc_html_active_gravity_forms_pdf_extended, (string) $inactive_esc_html_inactive_gravity_forms_pdf_extended, (string) $conditionaltext_esc_html_this_pdf_if_gravity_forms_pdf_extended, (string) $enable_esc_html_enable_gravity_forms_pdf_extended, (string) $disable_esc_html_disable_gravity_forms_pdf_extended, (string) $updatesuccess_esc_html_successfully_updated_gravity_forms_pdf_extended, (string) $deletesuccess_esc_html_successfully_deleted_gravity_forms_pdf_extended, (string) $no_esc_html_no_gravity_forms_pdf_extended, (string) $yes_esc_html_yes_gravity_forms_pdf_extended, (string) $standard_esc_html_standard_gravity_forms_pdf_extended, (string) $advanced_esc_html_advanced_gravity_forms_pdf_extended, (string) $select_esc_html_select_gravity_forms_pdf_extended, (string) $version_esc_html_version_gravity_forms_pdf_extended, (string) $group_esc_html_group_gravity_forms_pdf_extended, (string) $tags_esc_html_tags_gravity_forms_pdf_extended, (string) $migratingsite_esc_html_migrating_site_s_gravity_forms_pdf_extended, (string) $sitemigrationcomplete_esc_html_site_s_migration_complete_gravity_forms_pdf_extended, (string) $migrationerror_esc_html_migration_error_gravity_forms_pdf_extended, (string) $sitemigrationerrors_esc_html_site_s_migration_errors_gravity_forms_pdf_extended, (string) $addnewtemplate_esc_html_add_new_template_gravity_forms_pdf_extended, (string) $showadvancedoptions_esc_html_show_advanced_options_gravity_forms_pdf_extended, (string) $hideadvancedoptions_esc_html_hide_advanced_options_gravity_forms_pdf_extended, (string) $thisformhasnopdfs_esc_html_this_form_doesn_t_have_any_pdfs_gravity_forms_pdf_extended, (string) $letsgocreateone_esc_html_let_s_go_create_one_gravity_forms_pdf_extended, (string) $installedpdfs_esc_html_installed_pdfs_gravity_forms_pdf_extended, (string) $searchplaceholder_esc_html_search_the_gravity_pdf_knowledgebase_gravity_forms_pdf_extended, (string) $requiresgravitypdfversion_esc_html_requires_gravity_pdf_v_s_gravity_forms_pdf_extended, (string) $templatenotcompatiblewithgravitypdfversion_esc_html_this_pdf_template_is_not_compatible_with_your_version_of_gravity_pdf_this_template_required_gravity_pdf_v_s_gravity_forms_pdf_extended, (string) $templatedetails_esc_html_template_details_gravity_forms_pdf_extended, (string) $currenttemplate_esc_html_current_template_gravity_forms_pdf_extended, (string) $showprevioustemplate_esc_html_show_previous_template_gravity_forms_pdf_extended, (string) $shownexttemplate_esc_html_show_next_template_gravity_forms_pdf_extended, (string) $uploadinvalidnotzipfile_esc_html_upload_is_not_a_valid_template_upload_a_zip_file_gravity_forms_pdf_extended, (string) $uploadinvalidexceedsfilesizelimit_esc_html_upload_exceeds_the_10mb_limit_gravity_forms_pdf_extended, (string) $templatesuccessfullyinstalled_esc_html_template_successfully_installed_gravity_forms_pdf_extended, (string) $templatesuccessfullyupdated_esc_html_template_successfully_updated_gravity_forms_pdf_extended, (string) $templatesuccessfullyinstalledupdated_esc_html_pdf_template_s_successfully_installed_updated_gravity_forms_pdf_extended, (string) $problemwiththeupload_esc_html_there_was_a_problem_with_the_upload_reload_the_page_and_try_again_gravity_forms_pdf_extended, (unknown) $var, (string) $couldnotdeletetemplate_esc_html_could_not_delete_template_gravity_forms_pdf_extended, (string) $templateinstallinstructions_esc_html_if_you_have_a_pdf_template_in_zip_format_you_may_install_it_here_you_can_also_update_an_existing_pdf_template_this_will_override_any_changes_you_have_made_gravity_forms_pdf_extended, (unknown) $var ); 

Parameters (53)

0. $ajaxurl_admin_url_admin_ajax_php — Optional. (unknown) => [ 'ajaxUrl' => admin_url( 'admin-ajax.php' )
The ajaxurl admin url admin ajax php.
1. $ajaxnonce_wp_create_nonce_gfpdf_ajax_nonce — Optional. (string) => 'ajaxNonce' => wp_create_nonce( 'gfpdf_ajax_nonce' )
The ajaxnonce wp create nonce gfpdf ajax nonce.
2. $currentversion_pdf_extended_version — Optional. (string) => 'currentVersion' => PDF_EXTENDED_VERSION
The currentversion pdf extended version.
3. $pdfworkingdir_pdf_template_location — Optional. (string) => 'pdfWorkingDir' => PDF_TEMPLATE_LOCATION
The pdfworkingdir pdf template location.
4. $customfontdata_json_encode_custom_fonts — Optional. (string) => 'customFontData' => json_encode( $custom_fonts )
The customfontdata json encode custom fonts.
5. $spinnerurl_admin_url_images_spinner_2x_gif — Optional. (string) => 'spinnerUrl' => admin_url( 'images/spinner-2x.gif' )
The spinnerurl admin url images spinner 2x gif.
6. $spinneralt_esc_html_loading_gravity_forms_pdf_extended — Optional. (string) => 'spinnerAlt' => esc_html__( 'Loading...', 'gravity-forms-pdf-extended' )
The spinneralt esc html loading gravity forms pdf extended.
7. $continue_esc_html_continue_gravity_forms_pdf_extended — Optional. (string) => 'continue' => esc_html__( 'Continue', 'gravity-forms-pdf-extended' )
The continue esc html continue gravity forms pdf extended.
8. $uninstall_esc_html_uninstall_gravity_forms_pdf_extended — Optional. (string) => 'uninstall' => esc_html__( 'Uninstall', 'gravity-forms-pdf-extended' )
The uninstall esc html uninstall gravity forms pdf extended.
9. $cancel_esc_html_cancel_gravity_forms_pdf_extended — Optional. (string) => 'cancel' => esc_html__( 'Cancel', 'gravity-forms-pdf-extended' )
The cancel esc html cancel gravity forms pdf extended.
10. $delete_esc_html_delete_gravity_forms_pdf_extended — Optional. (string) => 'delete' => esc_html__( 'Delete', 'gravity-forms-pdf-extended' )
The delete esc html delete gravity forms pdf extended.
11. $active_esc_html_active_gravity_forms_pdf_extended — Optional. (string) => 'active' => esc_html__( 'Active', 'gravity-forms-pdf-extended' )
The active esc html active gravity forms pdf extended.
12. $inactive_esc_html_inactive_gravity_forms_pdf_extended — Optional. (string) => 'inactive' => esc_html__( 'Inactive', 'gravity-forms-pdf-extended' )
The inactive esc html inactive gravity forms pdf extended.
13. $conditionaltext_esc_html_this_pdf_if_gravity_forms_pdf_extended — Optional. (string) => 'conditionalText' => esc_html__( 'this PDF if', 'gravity-forms-pdf-extended' )
The conditionaltext esc html this pdf if gravity forms pdf extended.
14. $enable_esc_html_enable_gravity_forms_pdf_extended — Optional. (string) => 'enable' => esc_html__( 'Enable', 'gravity-forms-pdf-extended' )
The enable esc html enable gravity forms pdf extended.
15. $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.
16. $updatesuccess_esc_html_successfully_updated_gravity_forms_pdf_extended — Optional. (string) => 'updateSuccess' => esc_html__( 'Successfully Updated', 'gravity-forms-pdf-extended' )
The updatesuccess esc html successfully updated gravity forms pdf extended.
17. $deletesuccess_esc_html_successfully_deleted_gravity_forms_pdf_extended — Optional. (string) => 'deleteSuccess' => esc_html__( 'Successfully Deleted', 'gravity-forms-pdf-extended' )
The deletesuccess esc html successfully deleted gravity forms pdf extended.
18. $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.
19. $yes_esc_html_yes_gravity_forms_pdf_extended — Optional. (string) => 'yes' => esc_html__( 'Yes', 'gravity-forms-pdf-extended' )
The yes esc html yes gravity forms pdf extended.
20. $standard_esc_html_standard_gravity_forms_pdf_extended — Optional. (string) => 'standard' => esc_html__( 'Standard', 'gravity-forms-pdf-extended' )
The standard esc html standard gravity forms pdf extended.
21. $advanced_esc_html_advanced_gravity_forms_pdf_extended — Optional. (string) => 'advanced' => esc_html__( 'Advanced', 'gravity-forms-pdf-extended' )
The advanced esc html advanced gravity forms pdf extended.
22. $select_esc_html_select_gravity_forms_pdf_extended — Optional. (string) => 'select' => esc_html__( 'Select', 'gravity-forms-pdf-extended' )
The select esc html select gravity forms pdf extended.
23. $version_esc_html_version_gravity_forms_pdf_extended — Optional. (string) => 'version' => esc_html__( 'Version', 'gravity-forms-pdf-extended' )
The version esc html version gravity forms pdf extended.
24. $group_esc_html_group_gravity_forms_pdf_extended — Optional. (string) => 'group' => esc_html__( 'Group', 'gravity-forms-pdf-extended' )
The group esc html group gravity forms pdf extended.
25. $tags_esc_html_tags_gravity_forms_pdf_extended — Optional. (string) => 'tags' => esc_html__( 'Tags', 'gravity-forms-pdf-extended' )
The tags esc html tags gravity forms pdf extended.
26. $migratingsite_esc_html_migrating_site_s_gravity_forms_pdf_extended — Optional. (string) => 'migratingSite' => esc_html__( 'Migrating site #%s', 'gravity-forms-pdf-extended' )
The migratingsite esc html migrating site s gravity forms pdf extended.
27. $sitemigrationcomplete_esc_html_site_s_migration_complete_gravity_forms_pdf_extended — Optional. (string) => 'siteMigrationComplete' => esc_html__( 'Site #%s migration complete.', 'gravity-forms-pdf-extended' )
The sitemigrationcomplete esc html site s migration complete gravity forms pdf extended.
28. $migrationerror_esc_html_migration_error_gravity_forms_pdf_extended — Optional. (string) => 'migrationError' => esc_html__( 'Migration Error', 'gravity-forms-pdf-extended' )
The migrationerror esc html migration error gravity forms pdf extended.
29. $sitemigrationerrors_esc_html_site_s_migration_errors_gravity_forms_pdf_extended — Optional. (string) => 'siteMigrationErrors' => esc_html__( 'Site #%s migration errors.', 'gravity-forms-pdf-extended' )
The sitemigrationerrors esc html site s migration errors gravity forms pdf extended.
30. $addnewtemplate_esc_html_add_new_template_gravity_forms_pdf_extended — Optional. (string) => 'addNewTemplate' => esc_html__( 'Add New Template', 'gravity-forms-pdf-extended' )
The addnewtemplate esc html add new template gravity forms pdf extended.
31. $showadvancedoptions_esc_html_show_advanced_options_gravity_forms_pdf_extended — Optional. (string) => 'showAdvancedOptions' => esc_html__( 'Show Advanced Options...', 'gravity-forms-pdf-extended' )
The showadvancedoptions esc html show advanced options gravity forms pdf extended.
32. $hideadvancedoptions_esc_html_hide_advanced_options_gravity_forms_pdf_extended — Optional. (string) => 'hideAdvancedOptions' => esc_html__( 'Hide Advanced Options...', 'gravity-forms-pdf-extended' )
The hideadvancedoptions esc html hide advanced options gravity forms pdf extended.
33. $thisformhasnopdfs_esc_html_this_form_doesn_t_have_any_pdfs_gravity_forms_pdf_extended — Optional. (string) => 'thisFormHasNoPdfs' => esc_html__( "This form doesn't have any PDFs.", 'gravity-forms-pdf-extended' )
The thisformhasnopdfs esc html this form doesn t have any pdfs gravity forms pdf extended.
34. $letsgocreateone_esc_html_let_s_go_create_one_gravity_forms_pdf_extended — Optional. (string) => 'letsGoCreateOne' => esc_html__( "Let's go create one", 'gravity-forms-pdf-extended' )
The letsgocreateone esc html let s go create one gravity forms pdf extended.
35. $installedpdfs_esc_html_installed_pdfs_gravity_forms_pdf_extended — Optional. (string) => 'installedPdfs' => esc_html__( 'Installed PDFs', 'gravity-forms-pdf-extended' )
The installedpdfs esc html installed pdfs gravity forms pdf extended.
36. $searchplaceholder_esc_html_search_the_gravity_pdf_knowledgebase_gravity_forms_pdf_extended — Optional. (string) => 'searchPlaceholder' => esc_html__( 'Search the Gravity PDF Knowledgebase...', 'gravity-forms-pdf-extended' )
The searchplaceholder esc html search the gravity pdf knowledgebase gravity forms pdf extended.
37. $requiresgravitypdfversion_esc_html_requires_gravity_pdf_v_s_gravity_forms_pdf_extended — Optional. (string) => 'requiresGravityPdfVersion' => esc_html__( 'Requires Gravity PDF v%s', 'gravity-forms-pdf-extended' )
The requiresgravitypdfversion esc html requires gravity pdf v s gravity forms pdf extended.
38. $templatenotcompatiblewithgravitypdfversion_esc_html_this_pdf_template_is_not_compatible_with_your_version_of_gravity_pdf_this_template_required_gravity_pdf_v_s_gravity_forms_pdf_extended — Optional. (string) => 'templateNotCompatibleWithGravityPdfVersion' => esc_html__( 'This PDF template is not compatible with your version of Gravity PDF. This template required Gravity PDF v%s.', 'gravity-forms-pdf-extended' )
The templatenotcompatiblewithgravitypdfversion esc html this pdf template is not compatible with your version of gravity pdf this template required gravity pdf v s gravity forms pdf extended.
39. $templatedetails_esc_html_template_details_gravity_forms_pdf_extended — Optional. (string) => 'templateDetails' => esc_html__( 'Template Details', 'gravity-forms-pdf-extended' )
The templatedetails esc html template details gravity forms pdf extended.
40. $currenttemplate_esc_html_current_template_gravity_forms_pdf_extended — Optional. (string) => 'currentTemplate' => esc_html__( 'Current Template', 'gravity-forms-pdf-extended' )
The currenttemplate esc html current template gravity forms pdf extended.
41. $showprevioustemplate_esc_html_show_previous_template_gravity_forms_pdf_extended — Optional. (string) => 'showPreviousTemplate' => esc_html__( 'Show previous template', 'gravity-forms-pdf-extended' )
The showprevioustemplate esc html show previous template gravity forms pdf extended.
42. $shownexttemplate_esc_html_show_next_template_gravity_forms_pdf_extended — Optional. (string) => 'showNextTemplate' => esc_html__( 'Show next template', 'gravity-forms-pdf-extended' )
The shownexttemplate esc html show next template gravity forms pdf extended.
43. $uploadinvalidnotzipfile_esc_html_upload_is_not_a_valid_template_upload_a_zip_file_gravity_forms_pdf_extended — Optional. (string) => 'uploadInvalidNotZipFile' => esc_html__( 'Upload is not a valid template. Upload a .zip file.', 'gravity-forms-pdf-extended' )
The uploadinvalidnotzipfile esc html upload is not a valid template upload a zip file gravity forms pdf extended.
44. $uploadinvalidexceedsfilesizelimit_esc_html_upload_exceeds_the_10mb_limit_gravity_forms_pdf_extended — Optional. (string) => 'uploadInvalidExceedsFileSizeLimit' => esc_html__( 'Upload exceeds the 10MB limit.', 'gravity-forms-pdf-extended' )
The uploadinvalidexceedsfilesizelimit esc html upload exceeds the 10mb limit gravity forms pdf extended.
45. $templatesuccessfullyinstalled_esc_html_template_successfully_installed_gravity_forms_pdf_extended — Optional. (string) => 'templateSuccessfullyInstalled' => esc_html__( 'Template successfully installed', 'gravity-forms-pdf-extended' )
The templatesuccessfullyinstalled esc html template successfully installed gravity forms pdf extended.
46. $templatesuccessfullyupdated_esc_html_template_successfully_updated_gravity_forms_pdf_extended — Optional. (string) => 'templateSuccessfullyUpdated' => esc_html__( 'Template successfully updated', 'gravity-forms-pdf-extended' )
The templatesuccessfullyupdated esc html template successfully updated gravity forms pdf extended.
47. $templatesuccessfullyinstalledupdated_esc_html_pdf_template_s_successfully_installed_updated_gravity_forms_pdf_extended — Optional. (string) => 'templateSuccessfullyInstalledUpdated' => esc_html__( 'PDF Template(s) Successfully Installed / Updated', 'gravity-forms-pdf-extended' )
The templatesuccessfullyinstalledupdated esc html pdf template s successfully installed updated gravity forms pdf extended.
48. $problemwiththeupload_esc_html_there_was_a_problem_with_the_upload_reload_the_page_and_try_again_gravity_forms_pdf_extended — Optional. (string) => 'problemWithTheUpload' => esc_html__( 'There was a problem with the upload. Reload the page and try again.', 'gravity-forms-pdf-extended' )
The problemwiththeupload esc html there was a problem with the upload reload the page and try again gravity forms pdf extended.
49. $var — Optional. (string) => 'doYouWantToDeleteTemplate' => sprintf( esc_html__( "Do you really want to delete this PDF template?%sClick 'Cancel' to go back, 'OK' to confirm the delete.", 'gravity-forms-pdf-extended' ), "\n\n" )
The doyouwanttodeletetemplate sprintf esc html do you really want to delete this pdf template sclick cancel to go back ok to confirm the delete gravity forms pdf extended n n.
50. $couldnotdeletetemplate_esc_html_could_not_delete_template_gravity_forms_pdf_extended — Optional. (string) => 'couldNotDeleteTemplate' => esc_html__( 'Could not delete template.', 'gravity-forms-pdf-extended' )
The couldnotdeletetemplate esc html could not delete template gravity forms pdf extended.
51. $templateinstallinstructions_esc_html_if_you_have_a_pdf_template_in_zip_format_you_may_install_it_here_you_can_also_update_an_existing_pdf_template_this_will_override_any_changes_you_have_made_gravity_forms_pdf_extended — Optional. (string) => 'templateInstallInstructions' => esc_html__ ( 'If you have a PDF template in .zip format you may install it here. You can also update an existing PDF template (this will override any changes you have made).', 'gravity-forms-pdf-extended' )
The templateinstallinstructions esc html if you have a pdf template in zip format you may install it here you can also update an existing pdf template this will override any changes you have made gravity forms pdf extended.
52. $var (unknown) => ]
The var.

Usage

To run the hook, copy the example below.
  1. $ajaxurl_admin_url_admin_ajax_php = apply_filters( 'gfpdf_localised_script_array', $ajaxurl_admin_url_admin_ajax_php, $ajaxnonce_wp_create_nonce_gfpdf_ajax_nonce, $currentversion_pdf_extended_version, $pdfworkingdir_pdf_template_location, $customfontdata_json_encode_custom_fonts, $spinnerurl_admin_url_images_spinner_2x_gif, $spinneralt_esc_html_loading_gravity_forms_pdf_extended, $continue_esc_html_continue_gravity_forms_pdf_extended, $uninstall_esc_html_uninstall_gravity_forms_pdf_extended, $cancel_esc_html_cancel_gravity_forms_pdf_extended, $delete_esc_html_delete_gravity_forms_pdf_extended, $active_esc_html_active_gravity_forms_pdf_extended, $inactive_esc_html_inactive_gravity_forms_pdf_extended, $conditionaltext_esc_html_this_pdf_if_gravity_forms_pdf_extended, $enable_esc_html_enable_gravity_forms_pdf_extended, $disable_esc_html_disable_gravity_forms_pdf_extended, $updatesuccess_esc_html_successfully_updated_gravity_forms_pdf_extended, $deletesuccess_esc_html_successfully_deleted_gravity_forms_pdf_extended, $no_esc_html_no_gravity_forms_pdf_extended, $yes_esc_html_yes_gravity_forms_pdf_extended, $standard_esc_html_standard_gravity_forms_pdf_extended, $advanced_esc_html_advanced_gravity_forms_pdf_extended, $select_esc_html_select_gravity_forms_pdf_extended, $version_esc_html_version_gravity_forms_pdf_extended, $group_esc_html_group_gravity_forms_pdf_extended, $tags_esc_html_tags_gravity_forms_pdf_extended, $migratingsite_esc_html_migrating_site_s_gravity_forms_pdf_extended, $sitemigrationcomplete_esc_html_site_s_migration_complete_gravity_forms_pdf_extended, $migrationerror_esc_html_migration_error_gravity_forms_pdf_extended, $sitemigrationerrors_esc_html_site_s_migration_errors_gravity_forms_pdf_extended, $addnewtemplate_esc_html_add_new_template_gravity_forms_pdf_extended, $showadvancedoptions_esc_html_show_advanced_options_gravity_forms_pdf_extended, $hideadvancedoptions_esc_html_hide_advanced_options_gravity_forms_pdf_extended, $thisformhasnopdfs_esc_html_this_form_doesn_t_have_any_pdfs_gravity_forms_pdf_extended, $letsgocreateone_esc_html_let_s_go_create_one_gravity_forms_pdf_extended, $installedpdfs_esc_html_installed_pdfs_gravity_forms_pdf_extended, $searchplaceholder_esc_html_search_the_gravity_pdf_knowledgebase_gravity_forms_pdf_extended, $requiresgravitypdfversion_esc_html_requires_gravity_pdf_v_s_gravity_forms_pdf_extended, $templatenotcompatiblewithgravitypdfversion_esc_html_this_pdf_template_is_not_compatible_with_your_version_of_gravity_pdf_this_template_required_gravity_pdf_v_s_gravity_forms_pdf_extended, $templatedetails_esc_html_template_details_gravity_forms_pdf_extended, $currenttemplate_esc_html_current_template_gravity_forms_pdf_extended, $showprevioustemplate_esc_html_show_previous_template_gravity_forms_pdf_extended, $shownexttemplate_esc_html_show_next_template_gravity_forms_pdf_extended, $uploadinvalidnotzipfile_esc_html_upload_is_not_a_valid_template_upload_a_zip_file_gravity_forms_pdf_extended, $uploadinvalidexceedsfilesizelimit_esc_html_upload_exceeds_the_10mb_limit_gravity_forms_pdf_extended, $templatesuccessfullyinstalled_esc_html_template_successfully_installed_gravity_forms_pdf_extended, $templatesuccessfullyupdated_esc_html_template_successfully_updated_gravity_forms_pdf_extended, $templatesuccessfullyinstalledupdated_esc_html_pdf_template_s_successfully_installed_updated_gravity_forms_pdf_extended, $problemwiththeupload_esc_html_there_was_a_problem_with_the_upload_reload_the_page_and_try_again_gravity_forms_pdf_extended, $var, $couldnotdeletetemplate_esc_html_could_not_delete_template_gravity_forms_pdf_extended, $templateinstallinstructions_esc_html_if_you_have_a_pdf_template_in_zip_format_you_may_install_it_here_you_can_also_update_an_existing_pdf_template_this_will_override_any_changes_you_have_made_gravity_forms_pdf_extended, $var ); 
  2.  
  3. if ( !empty( $ajaxurl_admin_url_admin_ajax_php ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the gfpdf_localised_script_array callback 
  2. function filter_gfpdf_localised_script_array( $ajaxurl_admin_url_admin_ajax_php, $ajaxnonce_wp_create_nonce_gfpdf_ajax_nonce, $currentversion_pdf_extended_version, $pdfworkingdir_pdf_template_location, $customfontdata_json_encode_custom_fonts, $spinnerurl_admin_url_images_spinner_2x_gif, $spinneralt_esc_html_loading_gravity_forms_pdf_extended, $continue_esc_html_continue_gravity_forms_pdf_extended, $uninstall_esc_html_uninstall_gravity_forms_pdf_extended, $cancel_esc_html_cancel_gravity_forms_pdf_extended, $delete_esc_html_delete_gravity_forms_pdf_extended, $active_esc_html_active_gravity_forms_pdf_extended, $inactive_esc_html_inactive_gravity_forms_pdf_extended, $conditionaltext_esc_html_this_pdf_if_gravity_forms_pdf_extended, $enable_esc_html_enable_gravity_forms_pdf_extended, $disable_esc_html_disable_gravity_forms_pdf_extended, $updatesuccess_esc_html_successfully_updated_gravity_forms_pdf_extended, $deletesuccess_esc_html_successfully_deleted_gravity_forms_pdf_extended, $no_esc_html_no_gravity_forms_pdf_extended, $yes_esc_html_yes_gravity_forms_pdf_extended, $standard_esc_html_standard_gravity_forms_pdf_extended, $advanced_esc_html_advanced_gravity_forms_pdf_extended, $select_esc_html_select_gravity_forms_pdf_extended, $version_esc_html_version_gravity_forms_pdf_extended, $group_esc_html_group_gravity_forms_pdf_extended, $tags_esc_html_tags_gravity_forms_pdf_extended, $migratingsite_esc_html_migrating_site_s_gravity_forms_pdf_extended, $sitemigrationcomplete_esc_html_site_s_migration_complete_gravity_forms_pdf_extended, $migrationerror_esc_html_migration_error_gravity_forms_pdf_extended, $sitemigrationerrors_esc_html_site_s_migration_errors_gravity_forms_pdf_extended, $addnewtemplate_esc_html_add_new_template_gravity_forms_pdf_extended, $showadvancedoptions_esc_html_show_advanced_options_gravity_forms_pdf_extended, $hideadvancedoptions_esc_html_hide_advanced_options_gravity_forms_pdf_extended, $thisformhasnopdfs_esc_html_this_form_doesn_t_have_any_pdfs_gravity_forms_pdf_extended, $letsgocreateone_esc_html_let_s_go_create_one_gravity_forms_pdf_extended, $installedpdfs_esc_html_installed_pdfs_gravity_forms_pdf_extended, $searchplaceholder_esc_html_search_the_gravity_pdf_knowledgebase_gravity_forms_pdf_extended, $requiresgravitypdfversion_esc_html_requires_gravity_pdf_v_s_gravity_forms_pdf_extended, $templatenotcompatiblewithgravitypdfversion_esc_html_this_pdf_template_is_not_compatible_with_your_version_of_gravity_pdf_this_template_required_gravity_pdf_v_s_gravity_forms_pdf_extended, $templatedetails_esc_html_template_details_gravity_forms_pdf_extended, $currenttemplate_esc_html_current_template_gravity_forms_pdf_extended, $showprevioustemplate_esc_html_show_previous_template_gravity_forms_pdf_extended, $shownexttemplate_esc_html_show_next_template_gravity_forms_pdf_extended, $uploadinvalidnotzipfile_esc_html_upload_is_not_a_valid_template_upload_a_zip_file_gravity_forms_pdf_extended, $uploadinvalidexceedsfilesizelimit_esc_html_upload_exceeds_the_10mb_limit_gravity_forms_pdf_extended, $templatesuccessfullyinstalled_esc_html_template_successfully_installed_gravity_forms_pdf_extended, $templatesuccessfullyupdated_esc_html_template_successfully_updated_gravity_forms_pdf_extended, $templatesuccessfullyinstalledupdated_esc_html_pdf_template_s_successfully_installed_updated_gravity_forms_pdf_extended, $problemwiththeupload_esc_html_there_was_a_problem_with_the_upload_reload_the_page_and_try_again_gravity_forms_pdf_extended, $var, $couldnotdeletetemplate_esc_html_could_not_delete_template_gravity_forms_pdf_extended, $templateinstallinstructions_esc_html_if_you_have_a_pdf_template_in_zip_format_you_may_install_it_here_you_can_also_update_an_existing_pdf_template_this_will_override_any_changes_you_have_made_gravity_forms_pdf_extended, $var ) { 
  3. // make filter magic happen here... 
  4. return $ajaxurl_admin_url_admin_ajax_php
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'gfpdf_localised_script_array', 'filter_gfpdf_localised_script_array', 10, 53 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'gfpdf_localised_script_array', 'filter_gfpdf_localised_script_array', 10, 53 ); 

Defined (1)

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

/src/helper/Helper_Data.php  
  1. return apply_filters( 'gfpdf_localised_script_array', [