<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

function zoacres_register_load_scripts() {

    wp_enqueue_script( 'zoacres-register-custom', plugins_url( 'assets/js/register-custom.js', __FILE__ ), array('jquery'), '1.0', true );
	
	wp_localize_script('zoacres-register-custom', 'ajax_var', array(
        'loadingmessage' => esc_html__( 'Sending user info, please wait...', 'newser' ),
		'valid_email' => esc_html__( 'Please enter valid email!', 'newser' ),
		'valid_login' => esc_html__( 'Please enter valid username/password!', 'newser' ),
		'req_reg' => esc_html__( 'Please enter required fields values for registration!', 'newser' )
	));
 
}
add_action('wp_enqueue_scripts', 'zoacres_register_load_scripts');

require_once( ZOACRES_CORE_DIR . 'inc/zacres-member/function.php' );