Created
June 17, 2021 11:51
-
-
Save alex-authlab/df87724a79cbc986cc213d8e5aa1b209 to your computer and use it in GitHub Desktop.
FluentForm PHP hooks list
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//form | |
do_action('fluentform_loaded'); | |
//do_action('fluentform_before_insert_submission', $insertData, $data, $this->form); | |
do_action('fluentform_before_form_actions_processing', $insertId, $this->formData, $this->form); | |
//do_action('fluenform_before_submission_confirmation', $insertId, $formData, $form); | |
//do_action('fluentform_submission_inserted', $insertId, $formData, $form); | |
//payment | |
do_action('fluentform_before_insert_payment_form', $insertData, $data, $this->form); | |
//new form | |
//do_action('fluentform_inserted_new_form', $formId, $insertData); | |
do_action('fluentform_before_insert_payment_form', $insertData, $data, $this->form); | |
do_action('flentform_form_duplicated', $newFormId); | |
do_action('fluentform_form_imported', $formId); | |
do_action('fluentform_after_save_form_settings', $formId, $this->request->all()); | |
//editor | |
do_action( 'fluent_editor_init', $components ); | |
do_action('fluentform_loading_editor_assets', $form); | |
do_action('fluentform_before_editor_start'); | |
do_action('fluentform_after_editor_start'); | |
do_action('fluentform_after_form_screen_wrapper', $form_id, $route); | |
do_action('fluentform_before_form_screen_wrapper', $form_id, $route); | |
//form render | |
do_action('fluentform_render_item_'.$item['element'], $item, $form); | |
//do_action('fluentform_before_form_render', $form); | |
do_action('fluentform_form_element_start', $form); | |
do_action('fluentform_after_form_render', $form); | |
do_action('fluentform_render_item_step_end', $form->fields['stepsWrapper']['stepEnd'], $form); | |
do_action('fluentform_render_item_submit_button', $form->fields['submitButton'], $form); | |
do_action('fluentform_render_item_step_start', $startElement, $form); | |
do_action('ff_rendering_calculation_form', $form, $data); | |
//logging | |
do_action('ff_log_data', [ | |
'parent_source_id' => $form->id, | |
'source_type' => 'submission_item', | |
'source_id' => $entryId, | |
'component' => 'EmailNotification', | |
'status' => 'error', | |
'title' => 'Email sending skipped', | |
'description' => "Email skipped to send because email/subject may not valid.<br />Subject: {$notification['subject']}. <br/>Email: " . implode(', ', $sendAddresses), | |
]); | |
//scheduled_jobs | |
do_action('fluentform_maybe_scheduled_jobs'); | |
do_action('fluentform_do_email_report_scheduled_tasks'); | |
//permission | |
do_action('before_fluentform_permission_set_assignment'); | |
do_action('after_fluentform_permission_set_assignment'); | |
//menu | |
do_action('fluentform_global_menu'); | |
do_action('fluentform_after_global_menu'); | |
do_action('fluentform_after_form_navigation', $form_id, $route); | |
do_action('ff_fluentform_form_application_view_' . $route, $form_id); | |
//style | |
do_action('fluentform_init_custom_stylesheet', $selectedStyle, $formId); | |
do_action('fluentform_load_form_assets', $formId); | |
do_action('fluentform_scripts_registered'); | |
do_action('flunetform_render_payment_entries'); | |
do_action('fluentform_pre_load_scripts', $post); | |
//additional | |
do_action('fluentform_new_response_note_added', $insertId, $added_note); | |
do_action('fluentform_starting_file_upload', $files, $this->form); | |
//integreation | |
do_action('fluentform_global_notify_completed', $insertId, $form); | |
do_action('fluentform_save_global_integration_settings_' . $settingsKey, $integration); | |
do_action('ff_integration_action_result', $feed, 'success', 'MailChimp feed has been successfully initialed and pushed data'); | |
do_action('fluentform_email_summary_details', [ | |
'recipients' => $recipients, | |
'email_subject' => $emailSubject, | |
'email_body' => $emailBody | |
], $data, $emailResult); | |
do_action( 'fluentform_email_template_after_footer', $form, $notification ); | |
//addons | |
do_action('fluentform_addons_page_render_' . $current_menu_item); | |
do_action('fluentform_addons_page_render_fluentform_pdf_settings'); | |
//admin form setting | |
do_action('fluentform_before_form_settings_app', $form_id); | |
do_action('fluentform_after_form_settings_app', $form_id); | |
do_action('fluentform_form_settings_container_'.$current_sub_route, $form_id); | |
do_action('fluentform_before_global_settings_wrapper'); | |
do_action('fluentform_after_global_settings_wrapper'); | |
do_action('fluentform_global_settings_component_' . $currentComponent); | |
do_action('fluentform_after_global_settings_option_render'); | |
do_action('fluentform_before_global_settings_option_render'); | |
//export /import | |
do_action('fluentform_before_export_import_wrapper'); | |
do_action('fluentform_after_export_import_wrapper'); | |
do_action('fluentform_before_export_import_container'); | |
do_action('fluentform_after_before_export_import_container'); | |
//form styler | |
do_action('fluentform_form_styler', $form_id); | |
do_action('fluentform_after_style_generated', $formId); | |
//conversational form | |
do_action('fluentform_conversational_frame_head'); | |
do_action('fluentform_conversational_frame_footer'); | |
//pro_version | |
//integration | |
do_action('fluentform_user_registration_before_start', $feed, $entry, $form); | |
do_action('fluentform_created_user', $userId, $feed, $entry, $form); | |
do_action('fluentform_user_registration_completed', $userId, $feed, $entry, $form); | |
do_action('fluentform_post_integration_success', $postId, $postData, $entryId, $form, $feed); | |
do_action('fluentformpro_entry_confirmation', $_REQUEST); | |
do_action('fluentform_before_partial_entry_deleted', $entryId, $formId); | |
do_action('fluentform_after_partial_entry_deleted', $entryId, $formId); | |
do_action('flunetform_render_payment_entries'); | |
//entries | |
do_action('fluentform_before_all_entries_render'); | |
do_action('fluentform_after_all_entries_render'); | |
do_action('fluentform_before_entry_payment_deleted', $entries, $transactionData); | |
do_action('fluentform_before_partial_entry_deleted', $entryId, $formId); | |
do_action('fluentform_after_partial_entry_deleted', $entryId, $formId); | |
do_action('fluentform_before_entry_deleted', $entryId, $formId); | |
do_action('fluentform_after_entry_deleted', $entryId, $formId); | |
//payment recipt | |
do_action('fluentform_payment_receipt_before_content', $this->entry); | |
do_action('fluentform_payment_receipt_after_content', $this->entry); | |
//payment | |
do_action('fluent_payment_frameless_' . $paymentMethod, $data); | |
do_action('fluentform_rending_payment_method_'.$methodName, $activatedMethod, $data, $form); | |
do_action('fluentform_process_payment_' . $this->selectedPaymentMethod, $this->submissionId, $this->submissionData, $this->form, $this->methodSettings); | |
do_action('fluentform_payment_method_render_'.$methodName, $methodElement, $form); | |
do_action('fluentform_before_payment_status_change', $newStatus, $this->getSubmission()); | |
do_action('fluentform_after_payment_status_change', $newStatus, $this->getSubmission()); | |
do_action('fluentform_payment_refunded_'.$method, $refund, $refund->form_id); | |
do_action('fluentform_payment_refunded', $refund, $refund->form_id); | |
do_action('fluentform_payment_refund_updated_'.$method, $existingRefund, $existingRefund->form_id); | |
do_action('fluentform_payment_refund_updated', $existingRefund, $existingRefund->form_id); | |
do_action('fluentform_ipn_endpint_' . $paymentMethod); | |
do_action('fluentform_ipn_mollie_action_'.$status, $submission, $vendorTransaction, $data); | |
do_action('fluentform_ipn_mollie_action_refunded', $refundAmount, $submission, $vendorTransaction, $data); | |
do_action('fluentform_paypal_ipn_verification_failed', $remote_post_vars, $encoded_data_array); | |
do_action('fluentform_ipn_paypal_action_' . $encoded_data_array['txn_type'], $encoded_data_array, $submissionId, $ipnVerified); | |
do_action('fluentform_ipn_paypal_action_web_accept', $encoded_data_array, $submissionId, $ipnVerified); | |
do_action('fluentform_ipn_mollie_action_'.$status, $submission, $vendorTransaction, $data); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment