Commit fc118ac1 authored by N. Peraldi's avatar N. Peraldi

feat: add magasin category file

parent 73f9c429
<?php
/**
* Si l'utilisateur n'est pas connecté, on le redirige vers wp-login.php.
* S'il parvient à se connecter, il est ensuite redirigé vers la catégorie magasin
*/
if (!is_user_logged_in()) {
$redirect_url = $_SERVER ["REQUEST_URI"];
wp_safe_redirect(wp_login_url($redirect_url));
exit;
}
get_header();
get_footer();
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment