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 login widget by default.To disable social logins on the login widget simply use the “loginpress_social_widget” filter within “init” hook in your theme’s functions.php file.

add_filter( 'loginpress_social_widget', 'loginpress_social_widget_callback' );

function loginpress_social_widget_callback( $toggle ) {

$toggle = false;

return $toggle;