Documentation

Print This page

Social Button On Login Widget (Hook)

Using Social Login and Login Widget Add-On together make social logins to also appear on the login widget by default. To disable social logins on the login widget simply use the “loginpress_social_widget” filter within “init” hook in your Child theme’s file functions.php. Simply you need to add the given piece of code given below in your functions.php file and update the code.

function loginpress_social_widget_callback( $toggle ) {
$toggle = false;
return $toggle;
}
add_filter( 'loginpress_social_widget', 'loginpress_social_widget_callback' );

That’s it,

This is how you can easily disable the social logins from your login page by using the above filter. Check our complete guide on how to remove the remember me check box from your login page.