Skip to content

Commit

Permalink
Update statcounter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jessuppi authored Oct 26, 2024
1 parent 9da23b9 commit b969cac
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions statcounter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,26 @@
Plugin Name: StatCounter
Plugin URI: https://www.littlebizzy.com/plugins/statcounter
Description: Optimized StatCounter tracking
Version: 2.0.1
Version: 2.0.2
Requires PHP: 7.0
Author: LittleBizzy
Author URI: https://www.littlebizzy.com
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
GitHub Plugin URI: https://github.com/littlebizzy/statcounter
GitHub Plugin URI: littlebizzy/statcounter
Primary Branch: master
*/

// Prevent direct access
// prevent direct access
if ( ! defined( 'ABSPATH' ) ) {
exit;
}

// Disable WordPress.org updates for this plugin
// disable wordpress.org updates for this plugin
add_filter( 'gu_override_dot_org', function( $overrides ) {
$overrides[] = 'statcounter/statcounter.php';
return $overrides;
});
}, 999 );

// Add StatCounter settings page to admin menu
function statcounter_add_settings_page() {
Expand Down

0 comments on commit b969cac

Please sign in to comment.