[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: Form.php
<?php /******************************************************************************* * Copyright (c) 2020, WP Popup Maker ******************************************************************************/ abstract class PUM_Abstract_Integration_Form extends PUM_Abstract_Integration implements PUM_Interface_Integration_Form { /** * @var string */ public $type = 'form'; /** * @return array */ abstract public function get_forms(); /** * @param string $id * * @return mixed */ abstract public function get_form( $id ); /** * @return array */ abstract public function get_form_selectlist(); /** * @param array $js * * @return array */ public function custom_scripts( $js = [] ) { return $js; } /** * @param array $css * * @return array */ public function custom_styles( $css = [] ) { return $css; } /** * Retrieves the popup ID associated with the form, if any * * @return false|int * @since 1.13.0 */ public function get_popup_id() { return isset( $_REQUEST['pum_form_popup_id'] ) && absint( $_REQUEST['pum_form_popup_id'] ) > 0 ? absint( $_REQUEST['pum_form_popup_id'] ) : false; } /** * Increase the conversion count for popup * * @param int $popup_id The ID for the popup. * @since 1.13.0 */ public function increase_conversion( $popup_id ) { $popup_id = intval( $popup_id ); $popup = pum_get_popup( $popup_id ); $popup->increase_event_count( 'conversion' ); } /** * Returns whether or now we should process any form submissions * * @return bool True if we should process the form submission * @since 1.13.0 */ public function should_process_submission() { if ( wp_doing_ajax() || defined( 'REST_REQUEST' ) ) { return false; } return true; } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server.dijitaldukkanim.com.tr
Server IP: 104.247.168.220
PHP Version: 8.1.33
Server Software: Apache
System: Linux server.dijitaldukkanim.com.tr 4.18.0-553.105.1.el8_10.x86_64 #1 SMP Tue Feb 17 05:17:39 EST 2026 x86_64
HDD Total: 492.3 GB
HDD Free: 180.57 GB
Domains on IP: N/A (Requires external lookup)
System Features