diff --git a/woocommerce-simple-registration.php b/woocommerce-simple-registration.php index bbca176..a08c8f4 100644 --- a/woocommerce-simple-registration.php +++ b/woocommerce-simple-registration.php @@ -88,7 +88,7 @@ public function __construct() { * @link http://www.woothemes.com/products/woocommerce-social-login/ * @since 1.3.0 */ - if( function_exists( 'init_woocommerce_social_login' ) ){ + if( is_plugin_active( 'woocommerce-social-login/woocommerce-social-login.php' ) ) { require_once( trailingslashit( plugin_dir_path( __FILE__ ) ) . 'includes/wc-social-login.php' ); } }