<?php

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

return function ($chat) {
    add_action('init', array($chat, 'load_textdomain'), 0);
    add_action('wp_enqueue_scripts', array($chat, 'enqueue_frontend_assets'));
    add_action('wp_footer', array($chat, 'render_floating_widget'), 999);
    
    
    
};
