Activity_Log::__construct()

Class constructor


Source

File: src/core/admin/class-activity-log.php

	public function __construct() {

		add_action( 'admin_enqueue_scripts', array( $this, 'add_log_scripts' ) );
		add_action( 'wp_ajax_recipe-triggers', array( $this, 'load_recipe_triggers' ), 50 );
		add_action( 'wp_ajax_nopriv_recipe-triggers', array( $this, 'load_recipe_triggers' ), 50 );
		add_action( 'wp_ajax_recipe-actions', array( $this, 'load_recipe_actions' ), 50 );
		add_action( 'wp_ajax_nopriv_recipe-actions', array( $this, 'load_recipe_actions' ), 50 );
		add_action( 'admin_init', array( $this, 'load_minimal_admin' ) );
	}