Sindbad~EG File Manager

Current Path : /home/nicedoo/www/wp-content/plugins/aryo-activity-log/hooks/
Upload File :
Current File : /home/nicedoo/www/wp-content/plugins/aryo-activity-log/hooks/class-aal-hook-export.php

<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

class AAL_Hook_Export extends AAL_Hook_Base {

	public function hooks_export_wp( $args ) {
		aal_insert_log(
			array(
				'action' => 'downloaded',
				'object_type' => 'Export',
				'object_id' => 0,
				'object_name' => isset( $args['content'] ) ? $args['content'] : 'all',
			)
		);
	}

	public function __construct() {
		add_action( 'export_wp', array( &$this, 'hooks_export_wp' ) );
		
		parent::__construct();
	}
	
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists