shell bypass 403
<?php
defined( 'ABSPATH' ) || exit;
use FluentBooking\Framework\Foundation\Application;
use FluentBooking\App\Hooks\Handlers\ActivationHandler;
use FluentBooking\App\Hooks\Handlers\DeactivationHandler;
return function ($file) {
$app = new Application($file);
register_activation_hook($file, function () use ($app) {
($app->make(ActivationHandler::class))->handle();
});
register_deactivation_hook($file, function () use ($app) {
($app->make(DeactivationHandler::class))->handle();
});
require_once(FLUENT_BOOKING_DIR . 'boot/action_scheduler_loader.php');
add_action('plugins_loaded', function () use ($app) {
do_action('fluent_booking/loaded', $app);
});
};