PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / trunk
ShareThis Dashboard for Google Analytics vtrunk
3.3.2 trunk 1.0.7 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.5 2.3.5 2.3.6 2.3.7 2.3.8 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.0.0 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1
googleanalytics / class / class-ga-hook.php
googleanalytics / class Last commit date
controller 2 months ago core 1 year ago class-ga-admin.php 2 months ago class-ga-autoloader.php 4 years ago class-ga-frontend.php 2 months ago class-ga-helper.php 2 months ago class-ga-hook.php 4 years ago class-ga-notice.php 2 months ago class-ga-oauth.php 2 months ago class-ga-sharethis.php 4 years ago class-ga-stats.php 2 months ago class-ga-template.php 4 years ago
class-ga-hook.php
24 lines
1 <?php
2 /**
3 * Google Analytics hook class.
4 *
5 * @package GoogleAnalytics
6 */
7
8 /**
9 * Hook class.
10 */
11 class Ga_Hook {
12
13 /**
14 * Adds WordPress hooks.
15 *
16 * @param string $plugin_file_path Plugin file path string.
17 */
18 public static function add_hooks( $plugin_file_path ) {
19 register_activation_hook( $plugin_file_path, 'Ga_Admin::activate_googleanalytics' );
20 register_deactivation_hook( $plugin_file_path, 'Ga_Admin::deactivate_googleanalytics' );
21 register_uninstall_hook( $plugin_file_path, 'Ga_Admin::uninstall_googleanalytics' );
22 }
23 }
24