Plugin Directory

Changeset 1517334


Ignore:
Timestamp:
10/18/2016 01:08:22 PM (9 years ago)
Author:
commercepundit
Message:

Updated Security code and added analytics

Location:
custom-registration-and-login-forms-with-new-recaptcha/trunk
Files:
266 added
1 edited

Legend:

Unmodified
Added
Removed
  • custom-registration-and-login-forms-with-new-recaptcha/trunk/custom-registration-and-login-forms-with-new-recaptcha.php

    r1189420 r1517334  
    44Plugin URI: http://example.com/
    55Description: Provides simple frontend registration and login forms with new recaptcha
    6 Version: 1.0
     6Version: 1.1
    77Author: Commercepundit
    88Author URI: http://www.commercepundit.com/
    99*/
    1010  session_start();
     11 
     12  // Create a helper function for easy SDK access.
     13function cralfwnr_fs() {
     14    global $cralfwnr_fs;
     15
     16    if ( ! isset( $cralfwnr_fs ) ) {
     17        // Include Freemius SDK.
     18        require_once dirname(__FILE__) . '/freemius/start.php';
     19
     20        $cralfwnr_fs = fs_dynamic_init( array(
     21            'id'                => '484',
     22            'slug'              => 'custom-registration-and-login-forms-with-new-recaptcha',
     23            'type'              => 'plugin',
     24            'public_key'        => 'pk_7e04ea6ce2e0e08559fb3a125fb32',
     25            'is_premium'        => false,
     26            'has_addons'        => false,
     27            'has_paid_plans'    => false,
     28            'menu'              => array(
     29                'slug'       => 'custom-registration-and-login-forms-with-new-recaptcha',
     30                'contact'    => false,
     31                'support'    => false,
     32            ),
     33        ) );
     34    }
     35
     36    return $cralfwnr_fs;
     37}
     38
     39// Init Freemius.
     40cralfwnr_fs();
    1141add_action('admin_menu', 'crlfwnr_plugin_setup_menu');
    1242function crlfwnr_plugin_setup_menu(){
Note: See TracChangeset for help on using the changeset viewer.