| 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/modules/ninja-forms/ |
Upload File : |
<?php
namespace Send_App\Modules\Ninja_Forms;
use Send_App\Core\Integrations\Classes\Integration_Module_Base;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* Ninja Forms Integration Module
*
* Handles integration with Ninja Forms plugin, providing form data and submission handling.
*/
class Module extends Integration_Module_Base {
/**
* Get the integration name
*
* @return string The integration name
*/
public static function get_name(): string {
return 'ninjaforms';
}
/**
* Get list of available integrations
*
* @return array Array of integration class names
*/
protected function integrations_list(): array {
return [
'All_Forms',
'Form_View',
'Form_Submit',
];
}
/**
* Get list of available components
*
* @return array Array of component class names
*/
protected function components_list(): array {
return [
'Forms',
];
}
/**
* Check if Ninja Forms plugin is activated
*
* @return bool True if Ninja Forms is active, false otherwise
*/
public function is_plugin_activated(): bool {
return class_exists( 'Ninja_Forms' );
}
}