BSF_Analytics::load_deactivation_survey_form()
Function to load the deactivation survey form on the admin footer.
Description
This function checks if the Deactivation_Survey_Feedback class exists and if so, it loads the deactivation survey form. The form is configured with specific settings for plugin. Example: For CartFlows, including the source, logo, plugin slug, title, support URL, description, and the screen on which to show the form.
Return
(void)
Source
File: admin/bsf-analytics/class-bsf-analytics.php
public function load_deactivation_survey_form() { if ( class_exists( 'Deactivation_Survey_Feedback' ) ) { foreach ( $this->entities as $key => $data ) { // If the deactibation_survery info in available then only add the form. if ( ! empty( $data['deactivation_survey'] ) && is_array( $data['deactivation_survey'] ) ) { foreach ( $data['deactivation_survey'] as $key => $survey_args ) { Deactivation_Survey_Feedback::show_feedback_form( $survey_args ); } } } } }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.1.6 | Introduced. |