I'm building a custom login page and when I render the login form with the `wp_login_form` function, no OneAll providers are listed with the form. So, I added `do_action('oa_social_login');` to my template and I'm only seeing "Connect with:" displayed - the provider links are missing.
If I visit the standard /wp-login page, I see the provider links there, which indicates that the settings/config are configured correctly.
I believe this is because I'm calling the oa_social_login action at the wp_loaded hook. If I change my code to use something really late (like wp_footer), I see the provider icons. But I need to handle the form earlier in the action sequence (to allow for some other use cases in page rendering).
Any thoughts on what data I need to make available for the social login to render and function earlier in the hook sequence?
Answers
Not familiar with custom login pages, but maybe try do_action('login_form'), as we have a hook to render there (file user_interface.php, line 803 or about).
Regards.