You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.0 KiB
29 lines
1.0 KiB
<?php
|
|
if (!defined('pp_allowed_access')) {
|
|
die('Direct access not allowed');
|
|
}
|
|
|
|
$plugin_meta = [
|
|
'Plugin Name' => 'Webhook Manager',
|
|
'Description' => 'A powerful webhook handler plugin that automatically sends transaction and event data to custom URLs via HTTP POST or GET requests. Ideal for integrating external systems or notifying third-party services in real-time.',
|
|
'Version' => '1.0.0',
|
|
'Author' => 'PipraPay',
|
|
'Author URI' => 'https://piprapay.com/',
|
|
'License' => 'GPL-2.0+',
|
|
'License URI' => 'http://www.gnu.org/licenses/gpl-2.0.txt',
|
|
'Requires at least' => '1.0.0',
|
|
'Plugin URI' => '',
|
|
'Text Domain' => '',
|
|
'Domain Path' => '',
|
|
'Requires PHP' => ''
|
|
];
|
|
|
|
$funcFile = __DIR__ . '/functions.php';
|
|
if (file_exists($funcFile)) {
|
|
require_once $funcFile;
|
|
}
|
|
|
|
// Load the admin UI rendering function
|
|
function webhook_admin_page() {
|
|
echo "<div class='alert alert-warning'>Admin UI not found.</div>";
|
|
}
|