403Webshell
Server IP : 3.93.235.159  /  Your IP : 216.73.216.140
Web Server : Apache
System : Linux ip-172-26-0-169 5.10.0-46-cloud-amd64 #1 SMP Debian 5.10.262-1 (2026-07-31) x86_64
User : bitnami ( 1000)
PHP Version : 8.2.9
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /bitnami/wordpress/wp-content/plugins/send-app/core/integrations/classes/forms/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /bitnami/wordpress/wp-content/plugins/send-app/core/integrations/classes/forms/form-submit-data.php
<?php
namespace Send_App\Core\Integrations\Classes\Forms;

use Send_App\Core\Utils;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

/**
 * @property string $name
 * @property string $form_name
 * @property string $post_id
 * @property string $form_id
 * @property array $fields
 * @property string $document_type
 * @property string $page_url
 * @property array | null $meta
 */
class Form_Submit_Data {
	const EVENT = 'submitted';
	private string $name;
	private string $form_id;
	private string $post_id;
	private array $fields;
	private string $form_name;
	private string $document_type;
	private string $page_url;
	private ?array $meta;

	public function get_data(): array {
		$data = [
			'source' => [
				'method' => 'form',
				'name' => $this->name,
			],
			'eventType' => self::EVENT,
			'formId' => $this->form_id,
			'page' => [
				'pageId'   => $this->post_id,
				'name'     => get_the_title( $this->post_id ),
				'pagePath' => $this->page_url,
			],
			'formName' => $this->form_name,
			'formFields' => $this->fields,
			'specialType' => $this->document_type,
		];

		if ( ! empty( $this->meta ) ) {
			$data['formMeta'] = $this->meta;
		}

		return $data;
	}

	public function __construct( string $name, string $form_id, string $post_id, array $fields, string $form_name = '', string $document_type = '', ?array $meta = null ) {
		$this->name = $name;
		$this->form_id = $form_id;
		$this->post_id = $post_id;
		$this->fields = $fields;
		$this->form_name = $form_name;
		$this->document_type = $document_type;
		$this->page_url = Utils::get_page_url( $post_id );
		$this->meta = $meta;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit