# automatorwp/6.0.0/includes/integrations.php

AutomatorWP – No-Code Workflow Automation, Integration &amp; Webhooks Plugin, now with AI, version 6.0.0. 57 lines.

- Page: https://pluginprobe.com/plugins/automatorwp/6.0.0/code/includes/integrations.php
- Raw: https://pluginprobe.com/plugins/automatorwp/6.0.0/raw/includes/integrations.php
- Modified: 2026-08-31T06:40:04+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/automatorwp/6.0.0/code/includes/integrations.php#L10-L20`.

```php
<?php
/**
 * Triggers
 *
 * @package     AutomatorWP\Triggers
 * @author      AutomatorWP <contact@automatorwp.com>, Ruben Garcia <rubengcdev@gmail.com>
 * @since       1.0.0
 */
// Exit if accessed directly
if( !defined( 'ABSPATH' ) ) exit;

/**
 * Registers a new integration
 *
 * @since 1.0.0
 *
 * @param string $integration
 * @param array $args
 */
function automatorwp_register_integration( $integration, $args ) {

    $args = wp_parse_args( $args, array(
        'label' => '',
        'icon'  => AUTOMATORWP_URL . 'assets/img/integration-default.svg',
    ) );

    AutomatorWP()->integrations[$integration] = $args;

}

/**
 * Get registered integrations
 *
 * @since 1.0.0
 *
 * @return array
 */
function automatorwp_get_integrations() {

    return AutomatorWP()->integrations;

}

/**
 * Get an integration
 *
 * @since 1.0.0
 *
 * @param string $integration
 *
 * @return array|false
 */
function automatorwp_get_integration( $integration ) {

    return ( isset( AutomatorWP()->integrations[$integration] ) ? AutomatorWP()->integrations[$integration] : false );

}
```
