• Hello, i’m looking how to disable social login on admin and have this working on on the front site.
    In the plugin settings there is global login option and not split per requirement.

    Login Page Settings
    Do you want to display Social Login on the login form of your blog?
    Yes, display the social network buttons below the login form (Default)
    No, disable social network buttons in the login form

    Can you advice with functions filter script rather than removing login bar by style ?
    Thank you, regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author dzulu

    (@dzulu)

    Hello,

    In the user_interface.php file, you have almost of all hooks/filters used by the plugin. I think that you can take a look at (l.731) :
    //WooCommerce Registration
    add_action (‘woocommerce_register_form_end’, ‘oa_social_login_render_login_form_registration’);

    or this one (l.724) :
    //WordPress Signup Form
    add_action (‘after_signup_form’, ‘oa_social_login_render_login_form_registration’);

    Maybe you could comment this line (by adding // at the beginning of the line).

    Best regards,
    Damien

    Thread Starter n381

    (@n381)

    Thank you for responding,

    after trying with suggested edits, it turns without effect at all, social login widget is present under all 3, front login,registration and admin login page.
    Furthermore i’ve tried disabling all add_function instances but plugin is simply printing on pages.

    //WordPress Signup Form
    //add_action ('after_signup_form', 'oa_social_login_render_login_form_registration');
    
    //BuddyPress Registration
    //add_action ('bp_before_account_details_fields', 'oa_social_login_render_login_form_registration');
    
    //WooCommerce Registration
    //add_action ('woocommerce_register_form_end', 'oa_social_login_render_login_form_registration');
    
    //WooCommerce Checkout
    //add_action ('woocommerce_before_checkout_form', 'oa_social_login_render_custom_form_login');
    

    Can you advice something else?
    thank you, regards

    Plugin Author dzulu

    (@dzulu)

    I’ve checked in my local test website, and I could hide the plugin into the wp-admin page by commenting this line :

    //WordPress Login Form
    add_action(‘login_form’, ‘oa_social_login_render_login_form_wp_login’);

    Nevertheless, it could hide the plugin in another place, please check all your plugin integration.

    best regarsd,
    Damien

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Question how to disable on admin login’ is closed to new replies.