- Timestamp:
- 10/15/2026 03:34:37 PM (11 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
readable-agent-analytics/trunk/readable-agent-analytics.php
r3739172 r3748854 4 4 * Plugin URI: https://www.tryreadable.ai/integrations/wordpress 5 5 * Description: Privacy-safe AI agent and AI referral analytics for WordPress, powered by Readable. 6 * Version: 1. 1.06 * Version: 1.2.0 7 7 * Requires at least: 6.2 8 8 * Requires PHP: 7.4 … … 16 16 defined('ABSPATH') || exit; 17 17 18 define('READABLE_AGENT_ANALYTICS_VERSION', '1. 1.0');18 define('READABLE_AGENT_ANALYTICS_VERSION', '1.2.0'); 19 19 define('READABLE_AGENT_ANALYTICS_FILE', __FILE__); 20 20 define('READABLE_AGENT_ANALYTICS_DIR', plugin_dir_path(__FILE__)); 21 21 define('READABLE_AGENT_ANALYTICS_ENDPOINT', 'https://ingest.sonicadn.com/v1.0/traffic/data/wordpress'); 22 define('READABLE_AGENT_ANALYTICS_DASHBOARD_ENDPOINT', 'https://www.tryreadable.ai/api/external-agentic/integrations/wordpress/analytics'); 22 defined('READABLE_AGENT_ANALYTICS_DASHBOARD_ENDPOINT') || define('READABLE_AGENT_ANALYTICS_DASHBOARD_ENDPOINT', 'https://www.tryreadable.ai/api/external-agentic/integrations/wordpress/analytics'); 23 defined('READABLE_AGENT_ANALYTICS_PAIRING_START_ENDPOINT') || define('READABLE_AGENT_ANALYTICS_PAIRING_START_ENDPOINT', 'https://www.tryreadable.ai/api/external-agentic/integrations/wordpress/pairing/start'); 24 defined('READABLE_AGENT_ANALYTICS_PAIRING_EXCHANGE_ENDPOINT') || define('READABLE_AGENT_ANALYTICS_PAIRING_EXCHANGE_ENDPOINT', 'https://www.tryreadable.ai/api/external-agentic/integrations/wordpress/pairing/exchange'); 25 defined('READABLE_AGENT_ANALYTICS_PAIRING_STATUS_ENDPOINT') || define('READABLE_AGENT_ANALYTICS_PAIRING_STATUS_ENDPOINT', 'https://www.tryreadable.ai/api/external-agentic/integrations/wordpress/pairing/status'); 26 defined('READABLE_AGENT_ANALYTICS_DISCONNECT_ENDPOINT') || define('READABLE_AGENT_ANALYTICS_DISCONNECT_ENDPOINT', 'https://www.tryreadable.ai/api/external-agentic/integrations/wordpress/pairing/disconnect'); 23 27 define('READABLE_AGENT_ANALYTICS_INTEGRATION_ID', 'readable_wordpress_v1'); 24 28 … … 28 32 require_once READABLE_AGENT_ANALYTICS_DIR . 'includes/class-readable-agent-dashboard.php'; 29 33 require_once READABLE_AGENT_ANALYTICS_DIR . 'includes/class-readable-agent-site-verification.php'; 34 require_once READABLE_AGENT_ANALYTICS_DIR . 'includes/class-readable-agent-connection.php'; 30 35 31 36 final class Readable_Agent_Analytics { … … 45 50 add_action('admin_enqueue_scripts', array('Readable_Agent_Settings', 'enqueue_assets')); 46 51 add_action('rest_api_init', array('Readable_Agent_Site_Verification', 'register_route')); 52 add_action('admin_post_readable_agent_connect_start', array('Readable_Agent_Connection', 'start')); 53 add_action('admin_post_readable_agent_connect_callback', array('Readable_Agent_Connection', 'callback')); 54 add_action('admin_post_nopriv_readable_agent_connect_callback', array('Readable_Agent_Connection', 'callback')); 55 add_action('admin_post_readable_agent_connect_status', array('Readable_Agent_Connection', 'status')); 56 add_action('admin_post_readable_agent_disconnect', array('Readable_Agent_Connection', 'disconnect')); 47 57 self::ensure_schedule(); 48 58 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)