Lines:
1 to 39 of 39
<?php /** * Login / Register Functions * * @package EDD * @subpackage Functions/Login * @copyright Copyright (c) 2015, Pippin Williamson * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 1.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /* function edd_login_error_check() – While loading the template, see if an error was set for a filed login attempt and set the proper HTTP status code if there was a failed login attempt. */ add_action( 'template_redirect', 'edd_login_error_check', 10 ); /* function edd_login_form() – Login Form */ /* function edd_register_form() – Registration Form */ /* function edd_process_login_form() – Process Login Form */ add_action( 'edd_user_login', 'edd_process_login_form' ); /* function edd_log_user_in() – Log User In */ add_filter( 'wp_login_errors', 'edd_login_register_error_message', 10, 2 ); /* function edd_login_register_error_message */ /* function edd_get_lostpassword_url */ /* function edd_process_register_form() – Process Register Form */ add_action( 'edd_user_register', 'edd_process_register_form' );