GRAYBYTE WORDPRESS FILE MANAGER1025

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/trustyourlawyer.com/wp-content/plugins/ninja-forms/includes/Actions/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/trustyourlawyer.com/wp-content/plugins/ninja-forms/includes/Actions//Custom.php
<?php

use NinjaForms\Includes\Abstracts\SotAction;
use NinjaForms\Includes\Traits\SotGetActionProperties;
use NinjaForms\Includes\Interfaces\SotAction as InterfacesSotAction;

if (! defined('ABSPATH')) exit;

/**
 * Class NF_Action_Custom
 */
final class NF_Actions_Custom extends SotAction implements InterfacesSotAction
{
    use SotGetActionProperties;

    /**
     * @var array
     */
    protected $_tags = array();

    /**
     * Constructor
     */
    public function __construct()
    {
        parent::__construct();

        $this->_name  = 'custom';
        $this->_priority = 10;
        $this->_timing = 'normal';
        $this->_documentation_url = 'https://ninjaforms.com/docs/wp-hook/';
        $this->_group = 'core';

        add_action('init', [$this, 'initHook']);
    }

    public function initHook()
    {
        $this->_nicename = esc_html__('WP Hook', 'ninja-forms');

        $settings = Ninja_Forms::config('ActionCustomSettings');

        $this->_settings = array_merge($this->_settings, $settings);
    }

    /*
    * PUBLIC METHODS
    */

    /** @inheritDoc */
    public function process(array $action_settings, int $form_id, array $data): array
    {
        if (isset($action_settings['tag'])) {
            ob_start(); // Use the Output Buffer to suppress output

            do_action($action_settings['tag'], $data);

            ob_end_clean();
        }

        return $data;
    }
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:23
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:23
giriqfky / giriqfky
0644
Akismet.php
3.579 KB
December 09 2024 19:37:34
giriqfky / giriqfky
0644
CollectPayment.php
4.34 KB
December 09 2024 19:37:34
giriqfky / giriqfky
0644
Custom.php
1.399 KB
December 09 2024 19:37:34
giriqfky / giriqfky
0644
DeleteDataRequest.php
2.098 KB
December 09 2024 19:37:34
giriqfky / giriqfky
0644
Email.php
15.891 KB
December 09 2024 19:37:34
giriqfky / giriqfky
0644
ExportDataRequest.php
1.904 KB
December 09 2024 19:37:34
giriqfky / giriqfky
0644
GoogleAnalytics.php
1.771 KB
April 02 2025 18:14:40
giriqfky / giriqfky
0644
Recaptcha.php
9.576 KB
December 09 2024 19:37:34
giriqfky / giriqfky
0644
Redirect.php
1.282 KB
December 09 2024 19:37:34
giriqfky / giriqfky
0644
Save.php
9.142 KB
December 09 2024 19:37:34
giriqfky / giriqfky
0644
SuccessMessage.php
2.485 KB
December 09 2024 19:37:34
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF