# automatorwp/5.8.5/includes/install.php

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

- Page: https://pluginprobe.com/plugins/automatorwp/5.8.5/code/includes/install.php
- Raw: https://pluginprobe.com/plugins/automatorwp/5.8.5/raw/includes/install.php
- Modified: 2026-08-20T08:53:54+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/5.8.5/code/includes/install.php#L10-L20`.

```php
<?php
/**
 * Install
 *
 * @package     AutomatorWP\Install
 * @author      AutomatorWP <contact@automatorwp.com>, Ruben Garcia <rubengcdev@gmail.com>
 * @since       1.0.0
 */
// Exit if accessed directly
if( !defined( 'ABSPATH' ) ) exit;

/**
 * AutomatorWP installation
 *
 * @since 1.0.0
 */
function automatorwp_install() {

    // Setup default AutomatorWP installation date
    $automatorwp_install_date = ( $exists = get_option( 'automatorwp_install_date' ) ) ? $exists : '';

    if ( empty( $automatorwp_install_date ) ) {
        update_option( 'automatorwp_install_date', date( 'Y-m-d H:i:s' ) );
    }

    // Register AutomatorWP custom DB tables
    automatorwp_register_custom_tables();

    // Schedule events
    automatorwp_schedule_events();

}

```
