Your IP : 216.73.216.5


Current Path : /home/theafprt/khurram.com/wp-content/themes/execor/vamtam/admin/classes/
Upload File :
Current File : /home/theafprt/khurram.com/wp-content/themes/execor/vamtam/admin/classes/ajax.php

<?php

/**
 * Basic ajax class
 *
 * @package vamtam/execor
 */

/**
 * class VamtamAjax
 */
class VamtamAjax {

	protected $actions;

	/**
	 * Hook ajax actions
	 */
	public function __construct() {
		if ( is_array( $this->actions ) ) {
			foreach ( $this->actions as $hook => $func ) {
				add_action( 'wp_ajax_vamtam-' . $hook, array( $this, $func ) );
			}
		}
	}
}