https://t.me/RX1948
Server : Apache
System : Linux s1230 5.15.0-139-generic #149~20.04.1 SMP Tue Jul 14 11:21:49 UTC 2026 x86_64
User : p141464 ( 418825)
PHP Version : 7.4.33.12
Disable Function : NONE
Directory :  /html/relaunch-kmu/wp-content/plugins/wpforms-lite/src/Integrations/Square/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /html/relaunch-kmu/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;
	}
}

https://t.me/RX1948 - 2025