PluginProbe
Wp Social Login and Register Social Counter / 1.3.3
Wp Social Login and Register Social Counter v1.3.3
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
55 lines 1.6 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 - Login, Share, 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.3.3
9 * Author URI: https://wpmet.com/
10 * Text Domain: wp-social
11 * License: GPL2+
12 * Domain Path: /languages/
13 **/
14 define( 'WSLU_VERSION', '1.3.3' );
15 define( 'WSLU_VERSION_PREVIOUS_STABLE_VERSION', '1.3.0' );
16
17 define( "WSLU_LOGIN_PLUGIN", plugin_dir_path(__FILE__) );
18 define( "WSLU_LOGIN_PLUGIN_URL", plugin_dir_url(__FILE__) );
19
20
21 require( WSLU_LOGIN_PLUGIN.'autoload.php' );
22 /**
23 * Load Text Domain
24 */
25 if ( ! function_exists( 'wslu_social_init' ) ) :
26 function wslu_social_init() {
27 load_plugin_textdomain( 'wp-social' , false, dirname( plugin_basename( __FILE__ ) ).'/languages' );
28
29 if ( file_exists( WP_PLUGIN_DIR . '/elementor/elementor.php' ) ) {
30 WpSocialXs\Elementor\Elements::instance()->_init();
31 }
32 }
33 add_action( 'plugins_loaded', 'wslu_social_init', 199 );
34 endif;
35
36
37
38 /**
39 * Active Plugin
40 */
41 if ( ! function_exists( 'xs_social_plugin_activate' ) ) :
42 function xs_social_plugin_activate() {
43 $counter = New \XsSocialCount\Counter(false);
44 $counter->xs_counter_defalut_providers();
45
46 }
47 register_activation_hook( __FILE__, 'xs_social_plugin_activate' );
48
49 // custom function added
50 if(file_exists(WSLU_LOGIN_PLUGIN.'inc/custom-function.php') ){
51 include( WSLU_LOGIN_PLUGIN.'inc/custom-function.php');
52 }
53 endif;
54
55