# routeapp/2.4.18/includes/class-routeapp-activator.php

Route ‑ Shipping Protection, version 2.4.18. 40 lines.

- Page: https://pluginprobe.com/plugins/routeapp/2.4.18/code/includes/class-routeapp-activator.php
- Raw: https://pluginprobe.com/plugins/routeapp/2.4.18/raw/includes/class-routeapp-activator.php
- Modified: 2026-04-13T19:55:40+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/routeapp/2.4.18/code/includes/class-routeapp-activator.php#L10-L20`.

```php
<?php

/**
 * Fired during plugin activation
 *
 * @link       https://route.com/
 * @since      1.0.0
 *
 * @package    Routeapp
 * @subpackage Routeapp/includes
 */

/**
 * Fired during plugin activation.
 *
 * This class defines all code necessary to run during the plugin's activation.
 *
 * @since      1.0.0
 * @package    Routeapp
 * @subpackage Routeapp/includes
 * @author     Route App <support@route.com>
 */
class Routeapp_Activator {

    /**
     * Short Description. (use period)
     *
     * Long Description.
     *
     * @since    1.0.0
     */
    public static function activate()
    {
        require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-routeapp-setup.php';
        Route_Setup::register_ownership_rewrite_rule();
        flush_rewrite_rules( true );
        Route_Setup::init();
    }
}

```
