Plugin Directory

Changeset 1606467


Ignore:
Timestamp:
03/02/2017 10:33:14 AM (9 years ago)
Author:
jamesparkninja
Message:

Addition of opt-in Freemius Analytics

Location:
nexus
Files:
137 added
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • nexus/trunk/nexus.php

    r1605867 r1606467  
    44Plugin URI:  http://nexus.jamespark.ninja
    55Description: The central hub for project management - Community Edition
    6 Version:     0.7
     6Version:     0.8
    77Author:      JamesPark.ninja
    88Author URI:  http://jamespark.ninja/
     
    1212Domain Path: /languages
    1313*/
     14
     15// Create a helper function for easy SDK access.
     16function nex_fs() {
     17    global $nex_fs;
     18
     19    if ( ! isset( $nex_fs ) ) {
     20        // Include Freemius SDK.
     21        require_once dirname(__FILE__) . '/freemius/start.php';
     22
     23        $nex_fs = fs_dynamic_init( array(
     24            'id'                  => '817',
     25            'slug'                => 'nexus',
     26            'type'                => 'plugin',
     27            'public_key'          => 'pk_e0dc49638462db77935b81db1e54d',
     28            'is_premium'          => false,
     29            'has_premium_version' => false,
     30            'has_addons'          => false,
     31            'has_paid_plans'      => false,
     32            'menu'                => array(
     33                'slug'           => 'nexus',
     34                'first-path'     => 'admin.php?page=nexus',
     35                'account'        => false,
     36                'contact'        => false,
     37                'support'        => false,
     38            ),
     39        ) );
     40    }
     41
     42    return $nex_fs;
     43}
     44
     45// Init Freemius.
     46nex_fs();
    1447
    1548// Brings in functions needed for activation/deactivation/deletion to prevent any errors or junk data
  • nexus/trunk/readme.txt

    r1605867 r1606467  
    11=== NEXUS ===
    2 Contributors: jamesparkninja
     2Contributors: jamesparkninja, freemius
    33Donate link: https://www.paypal.me/jamesparkninja/4
    44Tags: ticketing, request, project management, system, basic
    55Requires at least: 4.6
    66Tested up to: 4.7
    7 Stable tag: 0.7
     7Stable tag: 0.8
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
Note: See TracChangeset for help on using the changeset viewer.