All Questions
Tagged with login plugin-development
42
questions
0
votes
0
answers
69
views
how to works woocommerce cart hash
have a WordPress store and I built it using the WooCommerce plugin. Today, I encountered an issue with my site that I need help resolving. The problem is as follows:
Imagine a scenario where a logged-...
1
vote
2
answers
73
views
How to create a custom wordpress plugin for a specific functionality?
I want to create a custom plugin to add a login with url functionality to my wordpress sites.
For example, I want to create a link as follows:
www.mysite.com/wp-admin?username=xxxx&pass=xxxxx
...
0
votes
1
answer
588
views
Check user last login date
I need to show to the user a password change page at first login and ever month. Is there any hook or filter that can I use to check in my plugin code when the user have done last login?
1
vote
0
answers
176
views
wp_insert_user() function password never match
I am trying to use wp_insert_user() to add a user from the custom registration form.
The user gets added to the database with a hashed password, but when the user is logged out and tries to use ...
1
vote
0
answers
143
views
Does wp_login only trigger before an user signs in into the admin panel?
Saw this bit of code in a plugin:
public function wp_login($user_login, $user) {
Identify::create($user->ID);
}
Fires after the user has successfully logged in.
In the doc it says that it ...
0
votes
0
answers
39
views
force logged in user to stay in the dashboard
I want to force logged-in users to stay in the wp dashboard. If a user logs in and visits a frontend page while being logged in, he should instantly get redirected back to the dashboard. Is there any ...
1
vote
1
answer
177
views
Logout users upon login, based on caps/role?
To reduce spam registrations, users are assigned the pending role until they're vetted (at which point they're assigned the subscriber role). The pending role has no capabilities. When pending users ...
0
votes
0
answers
167
views
Allowing duplicating users with same user_login and user_email
I would need a solution that the system would accept duplicates on user_login. I found a plugin for user_email duplicates, but I also need for user_login.
Any idea is welcome,
Thanks :)
0
votes
3
answers
342
views
How to Login a User inside a Plugin and Redirect to page?
In my plugin I try to login a user and redirect them to a specific page, but when I redirect the user, they are not logged in :-/
I have tried multiple variations of code that looks like this:
$...
0
votes
0
answers
124
views
Using custom IDP with WP
I got a client and they have a custom made IDP now they are moving to WordPress from Blogger and I made the full setup for the new WP site. Now they want the logins to be made from the IDP and not in ...
0
votes
1
answer
186
views
Enqueue script globally
This only works for admin dashboard.
add_action('admin_enqueue_scripts',array($this, 'login_register96_adminscripts'));
And this only works for the user place.
add_action( 'wp_enqueue_scripts', array(...
-1
votes
1
answer
1k
views
Hiding the Wordpress login and password fields from login page
I am using social plugin and I want to use just that and hide the login and password fields from login page, how do I do that?
I have tried this code but it disables complete login area including &...
-1
votes
1
answer
1k
views
Create a Custom Login System in WordPress [closed]
Please I need help with this.
I wrote a basic code to create a login form that will validate, retrieve data and display on my dashboard but I have the following challenges:
It always displays "...
0
votes
1
answer
551
views
How do I validate extra pin field on my WordPress login form page?
I have been able to add an extra field to my WordPress login form using the following code inside wp_login.php file, thanks to stackxchange.
add_action('login_form','my_added_login_field');
function ...
5
votes
3
answers
361
views
Init action hook running late after PayPal's return url?
I have process_ipn method that runs on init action hook. Looks like it is fired after PayPal returns to merchant. Under this method, I could find out the payment status such as completed, pending, ...