Tagged Questions
0
votes
0answers
20 views
How to redirect to cart in woocommerce when item is sold individually?
I set up a store with woocommerce to sell items individually, by default when you try to add a product to your cart that's already been added woocommerce shows a warning saying that it has already ...
1
vote
0answers
69 views
Firing a function AFTER redirect
I am using a function that redirects the user to a custom page, rather than wp-login in the event of errors. In my case I am using the Http Referer function to send the user back to the same page ...
1
vote
0answers
49 views
Add a new confirmation page before saving
I'm going to add a hook that does some modifications of the text before saving. Before making the changes permanent, I would like the user to confirm the changes after a "save_post" hook. Is there a ...
1
vote
1answer
2k views
Changing “Lost Password Email Link” to custom password reset page
On the Wordpress site I am working on, subscribers will not be allowed to see anything in the backend at all. Because of that I am creating a custom pages for the Wordpress login page that subscribers ...
2
votes
2answers
2k views
Which hook should be used to add an action containing a redirect?
I want to build a plugin that grabs certain url params from the query string to build a new query string for the same page. I'm following the excellent the Professional WordPress Plugin Development ...