PluginProbe ʕ •ᴥ•ʔ
Atarim – AI Agency for WordPress: Edit Pages, Fix Code, Update Plugins, SEO & Client Feedback / 5.0
Atarim – AI Agency for WordPress: Edit Pages, Fix Code, Update Plugins, SEO & Client Feedback v5.0
5.1.3 5.1.2 5.1.1 5.1 5.0 trunk 3.10 3.11 3.12 3.13 3.14 3.15 3.16 3.17 3.18 3.19 3.2.0 3.2.1 3.22 3.22.1 3.22.2 3.22.3 3.22.4 3.22.5 3.22.6 3.3.0 3.3.1 3.3.2 3.3.2.1 3.3.2.2 3.3.3 3.30 3.31 3.32 3.4 3.4.1 3.4.3 3.4.4 3.5 3.5.1 3.6 3.6.1 3.7 3.8 3.9 3.9.1 3.9.2 3.9.3 3.9.4 3.9.6 3.9.6.1 4.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.0.8 4.0.9 4.1.0 4.1.1 4.1.2 4.1.3 4.2 4.2.1 4.2.2 4.3 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.4
atarim-visual-collaboration / atarim-visual-collaboration.php
atarim-visual-collaboration Last commit date
admin 1 month ago assets 1 month ago doit 1 month ago images 1 month ago includes 1 month ago third-party 1 month ago vendor 1 month ago atarim-visual-collaboration.php 1 month ago composer.json 1 month ago composer.lock 1 month ago readme.txt 1 month ago uninstall.php 1 month ago
atarim-visual-collaboration.php
63 lines
1 <?php
2 /*
3 * Plugin Name: Atarim - Visual Feedback, Review & AI Collaboration
4 * Description: Make collecting feedback on WordPress sites MUCH faster and easier, with the visual collaboration tool used on over 120,000 websites worldwide.
5 * Version: 5.0
6 * Requires at least: 5.0
7 * Requires PHP: 7.4
8 * Author: Atarim
9 * Author URI: https://atarim.io/
10 * License: GPL 3.0 or later
11 * Text Domain: atarim-visual-collaboration
12 * Domain Path: /languages
13 */
14
15 if (!defined('ABSPATH')) {
16 exit; // Exit if accessed directly
17 }
18
19 define('AVCF_PLUGIN_NAME', trim(dirname(plugin_basename(__FILE__)), '/'));
20 define('AVCF_PLUGIN_DIR', plugin_dir_path(__FILE__));
21 define('AVCF_PLUGIN_URL', plugin_dir_url(__FILE__));
22 define('AVCF_PLUGIN_BASE', plugin_basename(__FILE__));
23
24 // Load Jetpack autoloader for MCP Adapter and dependencies
25 $avcf_autoloader = AVCF_PLUGIN_DIR . 'vendor/autoload_packages.php';
26 if ( file_exists( $avcf_autoloader ) ) {
27 require_once $avcf_autoloader;
28 }
29
30 require_once(plugin_dir_path(__FILE__) . 'includes/class-define-constant.php');
31 require_once(plugin_dir_path(__FILE__) . 'includes/class-functions.php');
32 require_once(plugin_dir_path(__FILE__) . 'includes/class-ajax-functions.php');
33 require_once(plugin_dir_path(__FILE__) . 'includes/do-it.php');
34
35 if(is_admin()) {
36 require_once(AVCF_PLUGIN_DIR . 'admin/class-avcf-settings.php');
37 require_once(AVCF_PLUGIN_DIR . 'admin/class-avcf-offboarding.php');
38 require_once(AVCF_PLUGIN_DIR . 'admin/class-user-meta.php');
39 require_once(AVCF_PLUGIN_DIR . 'admin/class-avcf-upgrade-notice.php');
40 new AVCF_Upgrade_Notice();
41 }
42
43 // Load text domain for translations
44 function avcf_load_textdomain() {
45 load_plugin_textdomain(AVCF_PLUGIN_NAME, false, dirname(AVCF_PLUGIN_BASE) . '/languages');
46 }
47 add_action('plugins_loaded', 'avcf_load_textdomain');
48
49 require_once(plugin_dir_path(__FILE__) . 'includes/inject-script.php');
50 require_once( AVCF_PLUGIN_DIR . 'doit/class-avcf-mcp-auth.php' );
51
52 // Diagnostic endpoint — loads unconditionally so the Atarim backend can
53 // query site health even when MCP itself is unavailable. This is the
54 // whole point: when MCP doesn't work, this is how the dashboard tells
55 // the user why.
56 require_once( AVCF_PLUGIN_DIR . 'doit/class-avcf-diagnostic.php' );
57 new AVCF_Diagnostic();
58
59 // Load every third-party / cluster class and bootstrap the MCP layer.
60 // All cluster require_once lines live in the loader, so this file stays stable
61 // as clusters are added or removed.
62 require_once( AVCF_PLUGIN_DIR . 'doit/avcf-cluster-loader.php' );
63