Your best bet would be to hook register_form
. It will require parsing the html and removing elements manually, something like this should point you in the right direction.
function removeFormElements(){
$form = ob_get_contents();
//manipulate $form to remove the elements with something like either regex or the php DOM parser
ob_get_clean()
echo $form;
}
add_action('register_form', 'removeFormElements');
I believe your oAuth plugin is probably handling what needs to be done in the registration_errors
hook to allow a registration without a username/password, but if it isn’t you would also need a function to prevent an error from being thrown due to a lack of required input.
Related Posts:
- I want to disable E-Mail verifcation / activation when a user signs up for my WordPress site
- How to customise wp-login.php only for users who are setting a password for the first time?
- How do I force “users must be registered and logged in” on subsites?
- Problem in auto login after registration
- Login user after registration programmatically
- Separate registration and login for different roles
- SSO / authentication integration with external ‘directory service’
- How to prefill WordPress registration with social details
- Prevent wp_login_form() from redirecting to wp-admin when there are errors
- Disable WordPress 3.6 idle logout / login modal window / session expiration
- Woocommerce registration page [closed]
- Avoid to load default WP styles in login screen
- WordPress registration message
- How to fake a WordPress login?
- How build a custom login/register form with error handling?
- Can not login with correct username and password
- How to remove the WordPress logo from login and register page?
- How can I add a custom script to footer of login page?
- How do I check if a post is private?
- Receiving “This content cannot be displayed in a frame” error on login page
- Action wp_login_failed not working if only one field is filled out
- How can I do customizations on login, registration and password recovery forms?
- What hooks should I use for pre-login and pre-registration actions?
- WordPress Login Footer URL
- Remove built in wordpress login and use only google auth
- Change Login Page for a Multisite Subsite
- Redirect user after login/registration globally
- Positioning the “Lost your password?” and “← Back to Site”
- How to get login data (session) outside WordPress?
- Change register form action url
- Problem with logging in WP users automatically
- Is it possible a one click user registration with Facebook or Twitter (or other Social Networks)?
- Add class to input form in login form
- Allow access to a page for admins only
- Restricting frontend acess based on user role otherwise redirect to login form
- Force users to register in order to view website [duplicate]
- how to restrict user login whenever if a user puts on hold by editing wp-login action?
- deny IPs from wp-login using .htaccess
- auto login after registeration for wp-members plugin
- Passing username to login screen
- How To Change Wp Register/Login URL Permanently To My Custom Page
- How can I prevent my custom form from redirecting to wp-login?
- reset password link redirect to login page
- How do I replace “Username” in the WordPress login form?
- Custom Login iframe doesn’t work
- How to Get Logged-in to “Remote WP Site” from my local script (in Same Browser)?
- Autologin only working the second time
- Get the url of custom login page in the registration page
- How to change wordpress Log In text
- WordPress error on log out ‘Not Permitted’ and can’t log out
- By registering always make uppercase the first letter of the login
- Best option to implement external register/login to WP from self-made API
- Form Action submit over https
- Forcing frontend login with UI switch
- How do I add Login fields and registration link to the header?
- How to make a user be able to register if such a login already exists?
- Change default login auth
- wordpress login without password just email address (NO 2 factor authentication with email)
- Sending new registration meta values to admin by email
- WordPress SSL not working [closed]
- Are login functions considered part of the WP backend?
- WordPress registration page template
- Removing “public” user registration without completely turning it off?
- Cannot Get User id after login success in file wp_login.php
- Disable registration on certain condition
- Alert Message through email or phone(Message)
- what is the best and safest way to allow users to register to site
- Temporally disable password to login with empty password?
- How are all users now set to inactive?
- woocommerce store login not working at first time
- How do I change the language of the login page to Arabic?
- How do you implement a login feature on a WordPress site?
- Updated : how to make email optional while user registration using default wordpress form
- Login form does not store/remember/suggest users password
- Unable to login after registration
- Using is_user_logged_in() to lock down whole site
- How to invalidate `password reset key` after being used
- Check for $ _POST fields in a POST method form
- Styling WordPress login page – Can I change the markup on the login page?
- Special link for no automatic login (no username and no password)
- Can’t login with any account – No error message shown
- Updating usermeta from login redirect to billing address
- Hide login page and use wp_login_form on ordinary pages
- Chosen user password in registration is not being accepted on Login
- WordPress auto login user after registration only from a specific page
- Make WordPress User Name the Email Address When Register
- Custom Field For Login
- How can I have customers log in using ONLY customer number? No password
- Webpage not found upon entering wrong username and password on custom login form?
- Can’t login through wp-login.php on fresh installation
- Where do I find “log in” and “register” link which are located on the top right corner?
- How to force login after user browses for a few minutes or browses a few pages?
- Showing A Menu When Only Users Are Logged In [duplicate]
- Logging in takes a few refreshes to show you are logged in, is this a cache issue? [closed]
- how to add custom word press regisration form in word press 3.5 with out module [closed]
- make a login system for site visitors
- I can’t login to wordpress dashboard without SSH
- Login form- no feedback
- How to create a fully functional user registration in WordPress?
- Remove login link from Reset Password-screen