Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!is_page_template('search.php')) {
- set_transient( 'last_url', $current_url, 60*60 );
- }
- if(!is_page_template('search.php')) {
- if(stripos($current_url, 'search') === false) {
- set_transient( 'shop_last_url', $current_url, 60*60 );
- }
- }
Add Comment
Please, Sign In to add comment