From 2ee6ad69b0ae7aad3495ca53e9f5d715d714ec4b Mon Sep 17 00:00:00 2001
From: Erick Hitter <services@ethitter.com>
Date: Sun, 21 Feb 2016 20:00:51 -0800
Subject: [PATCH] Start building admin UI

Will add a section to Settings > Reading. Doesn't need it's own page.
---
 eth-amp-analytics-wp.php | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/eth-amp-analytics-wp.php b/eth-amp-analytics-wp.php
index 51b1c19..342d193 100644
--- a/eth-amp-analytics-wp.php
+++ b/eth-amp-analytics-wp.php
@@ -75,8 +75,18 @@ class ETH_AMP_Analytics_WP {
 			add_filter( 'amp_component_scripts', array( $this, 'filter_amp_component_scripts' ) );
 			add_action( 'amp_post_template_footer', array( $this, 'action_amp_post_template_footer' ) );
 		}
+
+		unset( $ga_options );
+
+		// Admin UI
+		add_action( 'admin_init', array( $this, 'action_admin_init' ) );
+
 	}
 
+	/**
+	 * TEMPLATING
+	 */
+
 	/**
 	 *
 	 */
@@ -112,6 +122,15 @@ class ETH_AMP_Analytics_WP {
 		</amp-analytics>
 		<?php
 	}
+
+	/**
+	 * ADMIN UI
+	 */
+
+	/**
+	 *
+	 */
+	public function action_admin_init() {}
 }
 
 ETH_AMP_Analytics_WP::get_instance();
\ No newline at end of file
-- 
GitLab