Skip to content
WPCode Library

WPCode Library

  • Features
    • Code Snippets Library
    • Smart Conditional Logic
    • Advanced Code Revisions
    • Private Cloud Library
    • Marketing Scripts & Conversion Pixels
  • Pricing
  • Snippets Library
  • Help Center
    • Docs
    • Support
  • Blog
  • Login
  • Get WPCode

Snippets library

Browse Snippets
Claim your Free Profile
Add Snippet

Tag: login-form

Redirect To Referer After Login

/** * After a user logs in, redirect them back to the page they * were on right before going to the login page. * * @see wp_login_form * @uses wp_get_referer * * @param array $args The default arguments that…Continue reading

Change Login Form Arguments

/** * The `charitable_login_form_args` filter allows you to set * the arguments that are passed to wp_login_form(). * * In this example, we change the URL that people are redirected * to after logging in through the form generated by…Continue reading

Company

  • About
  • Careers
  • Testimonials
  • Blog
  • Contact
  • Twitter
  • Facebook

Powerful Code Features

  • Ready-made Snippets Library
  • Smart Conditional Logic
  • Advanced Auto-insert Locations
  • Global Header & Footer Scripts
  • Safe Error Handling
  • WordPress Code Generators

  • Ecommerce Conversion Pixels
  • Dynamic Content Elements
  • Reduce Number of Plugins
  • Save Snippets in Cloud
  • Easy Code Management
  • Advanced Code Revisions

Helpful Links

  • Support
  • Documentation
  • Plans & Pricing
  • WordPress Hosting
  • Start a Blog
  • Make a Website

Our Brands


Awesome Products Start with an Awesome Team.

Over 25 million sites use our software. We believe in creating awesome user experiences. Whatever the market conditions or current trends, you will always find Awesome Motive leading the way to help our customers gain competitive business advantage and stay ahead of the curve.

  • WPForms
  • OptinMonster
  • MonsterInsights
  • WP Mail SMTP
  • RafflePress
  • SeedProd
  • TrustPulse
  • AIOSEO
  • Smash Balloon
  • Easy Digital Downloads
  • WP Simple Pay
  • PushEngage
  • SearchWP
  • WPBeginner

Copyright © 2023 WPCode. WPCode® is a registered trademark of WPCode, LLC

Terms of Service
Privacy Policy
FTC Disclosure
Sitemap
WPCode Coupon

Snippet Preview