Skip to content

Commit

Permalink
Create main.php
Browse files Browse the repository at this point in the history
  • Loading branch information
garora committed Aug 29, 2015
1 parent 6f72524 commit 634acad
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions main.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php
/*
Plugin Name: Login Anywhere
Plugin URI: http://shubhcomputing.com/
Description: Provides a mobile button, which demonstrate different steps of Repairing Process.
Version: 0.0.1
Author: Shubh Computing LLP
Author URI: http://shubhcomputing.com/
*/

defined( 'ABSPATH' ) or die( 'No script kiddies please!' );

define("ME_URL", rtrim(WP_PLUGIN_URL,'/') . '/'.basename(dirname(__FILE__)) );
define("ME_DIR", rtrim(dirname(__FILE__), '/'));

add_shortcode('login-form','login_form_callback');
function login_form_callback()
{
include_once(ME_DIR."/shortcodes/login_form_callback.php");
return $data;
}

0 comments on commit 634acad

Please sign in to comment.