HEX
Server: nginx/1.27.1
System: Linux in-4 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
User: ilikadirect (1186)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v6964/gopalak/public_html/wp-content/plugins/charitable/templates/shortcodes/login.php
<?php
/**
 * The template used to display the login form. Provided here primarily as a way to make
 * it easier to override using theme templates.
 *
 * Override this template by copying it to yourtheme/charitable/shortcodes/login.php
 *
 * @author  David Bisset
 * @package Charitable/Templates/Account
 * @since   1.0.0
 * @version 1.5.7
 * @version 1.8.8.6
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$charitable_login_form_args = array_key_exists( 'login_form_args', $view_args ) ? $view_args['login_form_args'] : array();

?>
<div class="charitable-login-form">
	<?php

	/**
	 * Do something before the login form.
	 *
	 * @param array $view_args All args passed to template.
	 */
	do_action( 'charitable_login_form_before', $view_args );

	wp_login_form( $charitable_login_form_args );

	?>
	<p>
		<?php if ( array_key_exists( 'registration_link', $view_args ) && $view_args['registration_link'] ) : ?>
			<a href="<?php echo esc_url( $view_args['registration_link'] ); ?>"><?php echo esc_html( $view_args['registration_link_text'] ); ?></a>&nbsp;|&nbsp;
		<?php endif ?>
		<a href="<?php echo esc_url( charitable_get_permalink( 'forgot_password_page' ) ); ?>"><?php esc_html_e( 'Forgot Password', 'charitable' ); ?></a>
	</p>
	<?php

	/**
	 * Do something after showing the login form.
	 *
	 * @param array $view_args All args passed to template.
	 */
	do_action( 'charitable_login_form_after', $view_args )

	?>
</div>