Integration Patterns
Hook-Based Extensibility
The platform uses WordPress filters and actions for cross-plugin communication and extensibility.
Filter Patterns
extrachill_ai_tools– Register AI tools across pluginsextrachill_breadcrumbs_*– Customize breadcrumb navigationnewsletter_form_integrations– Register newsletter contexts
Action Hooks
extrachill_artist_created– Trigger actions when artists are createdextrachill_user_registered– User lifecycle events- Theme hooks for UI integration (
extrachill_header_*,extrachill_sidebar_*)
Function Existence Checks
Always verify cross-plugin functions exist before calling:
if (function_exists('ec_get_artist_data')) {
$data = ec_get_artist_data($artist_id);
}
Shared Services
extrachill-ai-client– Centralized AI provider managementextrachill-users– Network-wide user managementextrachill-multisite– Cross-site data accessextrachill-api– REST API infrastructure