Skip to:
Content

  • Home
  • About
  • Integrations
  • Help
  • Blog
  • Download
Automator Developer Resources

Code Reference

  • Home
  • Reference
Filter by type:
Search
Browse: Home / Reference / Classes / Prune_Logs / Prune_Logs::__construct()

Prune_Logs::__construct()

Class constructor


Source

File: src/core/admin/class-prune-logs.php

	public function __construct() {
		add_action( 'automator_on_settings_page_metabox', array( $this, 'add_purge_settings' ) );
		add_action( 'admin_init', array( $this, 'maybe_purge_logs' ) );
		add_action( 'admin_notices', array( $this, 'add_pruned_notice' ) );
	}

Expand full source code Collapse full source code View on Github


Twitter • Facebook • YouTube • Contact Us • Privacy • Terms of Service