WPIntell

Source evidence

Question how to disable on admin login

Social Login · support · 2022-08-21T23:09:00+00:00

complaintsentiment
highseverity
0.9relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 28 rows with source links

14.3% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

24 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
n381 unresolved
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 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 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 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

Comments

3 shown
dzulu 2022-08-22T08:30:00+00:00

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

n381 2022-08-23T03:24:00+00:00

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

dzulu 2022-08-23T09:10:00+00:00

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