??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/renovaid.co.uk/wp-content/plugins/wpforms-lite/src/API.php
⬅ Kembali
<?php
namespace WPForms;
use WPForms\Admin\Tools\Views\Import;
/**
* Class API.
*
* @since 1.8.6
*/
class API {
/**
* Registry.
* Contains name of the class and method to be called.
* For non-static methods, should contain the id to operate via wpforms->get( 'class' ).
*
* @todo Add non-static methods processing.
*
* @since 1.8.6
*
* @var array[]
*/
private $registry = [
'import_forms' => [
'class' => Import::class,
'method' => 'import_forms',
],
];
/**
* Magic method to call a method from registry.
*
* @since 1.8.6
*
* @param string $name Method name.
* @param array $args Arguments.
*
* @return mixed|null
*/
public function __call( string $name, array $args ) {
$callback = $this->registry[ $name ] ?? null;
if ( $callback === null ) {
return null;
}
return call_user_func( [ $callback['class'], $callback['method'] ], ...$args );
}
}
Nama
Tipe
Ukuran
Diubah
Aksi
📁 Access
dir
—
2026-06-23 10:10
📁 Admin
dir
—
2026-06-23 10:10
📁 Db
dir
—
2026-06-23 10:10
📁 Education
dir
—
2026-06-23 10:10
📁 Emails
dir
—
2026-06-23 10:10
📁 Forms
dir
—
2026-06-23 10:10
📁 Frontend
dir
—
2026-06-23 10:10
📁 Helpers
dir
—
2026-06-23 10:10
📁 Integrations
dir
—
2026-06-23 10:10
📁 Lite
dir
—
2026-06-23 10:10
📁 Logger
dir
—
2026-06-23 10:10
📁 Migrations
dir
—
2026-06-23 10:10
📁 Providers
dir
—
2026-06-23 10:10
📁 Requirements
dir
—
2026-06-23 10:10
📁 SmartTags
dir
—
2026-06-23 10:10
📁 Tasks
dir
—
2026-06-23 10:10
🐘 API.php
php
923 B
2024-01-16 17:57
🐘 ErrorHandler.php
php
11.4 KB
2026-06-18 16:16
🐘 Loader.php
php
19.1 KB
2026-06-18 16:16
🐘 WPForms.php
php
16.4 KB
2025-09-25 15:01