Skip to content
Snippets Groups Projects
Commit 2ee6ad69 authored by Erick Hitter's avatar Erick Hitter
Browse files

Start building admin UI

Will add a section to Settings > Reading. Doesn't need it's own page.
parent e851b6d5
Branches
No related tags found
1 merge request!1WIP: Initial release
...@@ -75,8 +75,18 @@ class ETH_AMP_Analytics_WP { ...@@ -75,8 +75,18 @@ class ETH_AMP_Analytics_WP {
add_filter( 'amp_component_scripts', array( $this, 'filter_amp_component_scripts' ) ); add_filter( 'amp_component_scripts', array( $this, 'filter_amp_component_scripts' ) );
add_action( 'amp_post_template_footer', array( $this, 'action_amp_post_template_footer' ) ); 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 { ...@@ -112,6 +122,15 @@ class ETH_AMP_Analytics_WP {
</amp-analytics> </amp-analytics>
<?php <?php
} }
/**
* ADMIN UI
*/
/**
*
*/
public function action_admin_init() {}
} }
ETH_AMP_Analytics_WP::get_instance(); ETH_AMP_Analytics_WP::get_instance();
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment