/** * Function that will be executed when plugin is activated */ public static function install() { // Load the Redirect File Manager. require_once WPSEO_PREMIUM_PATH . 'classes/class-redirect-file-manager.php'; // Create the upload directory. WPSEO_Redirect_File_Manager::create_upload_dir(); WPSEO_Premium::import_redirects_from_free(); }