PluginProbe
Wp Social Login and Register Social Counter / 1.2.6
Wp Social Login and Register Social Counter v1.2.6
3.2.1 trunk 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.10 1.3.11 1.3.2 1.3.3 1.3.4 1.3.6 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.4 1.4.5 1.4.6 1.4.8 1.4.9 All 70 releases
wp-social / wp-social.php

wp-social.php in Wp Social Login and Register Social Counter 1.2.6, at wp-social.php

49 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3 /*
4 * Plugin Name: Wp Social - Social Login, Social Share, Social Counter
5 * Plugin URI: https://wpmet.com/
6 * Description: Wp Social Login / Social Sharing / Social Counter System for Facebook, Google, Twitter, Linkedin, Dribble, Pinterest, Wordpress, Instagram, GitHub, Vkontakte, Reddit and more providers.
7 * Author: Wpmet
8 * Version: 1.2.6
9 * Author URI: https://wpmet.com/
10 * Text Domain: wslu-social-login
11 * License: GPL2+
12 * Domain Path: /languages/
13 **/
14 define( 'WSLU_VERSION', '1.0.1' );
15 define( 'WSLU_VERSION_PREVIOUS_STABLE_VERSION', '1.0.0' );
16
17 define( "WSLU_LOGIN_PLUGIN", plugin_dir_path(__FILE__) );
18 define( "WSLU_LOGIN_PLUGIN_URL", plugin_dir_url(__FILE__) );
19
20
21 /**
22 * Load Text Domain
23 */
24 if ( ! function_exists( 'wslu_social_init' ) ) :
25 function wslu_social_init() {
26 load_plugin_textdomain( 'wslu-social-login' , false, dirname( plugin_basename( __FILE__ ) ).'/languages' );
27 }
28 add_action( 'plugins_loaded', 'wslu_social_init' );
29 endif;
30
31 require( WSLU_LOGIN_PLUGIN.'autoload.php' );
32
33 /**
34 * Active Plugin
35 */
36 if ( ! function_exists( 'xs_social_plugin_activate' ) ) :
37 function xs_social_plugin_activate() {
38 $counter = New \XsSocialCounter\Counter(false);
39 $counter->xs_counter_defalut_providers();
40 }
41 register_activation_hook( __FILE__, 'xs_social_plugin_activate' );
42
43 // custom function added
44 if(file_exists(WSLU_LOGIN_PLUGIN.'inc/custom-function.php') ){
45 include( WSLU_LOGIN_PLUGIN.'inc/custom-function.php');
46 }
47 endif;
48
49