Skip to content

Commit b0aa449

Browse files
authored
Merge pull request #2 from alpinecodex/brijr-patch-1
Update functions.php
2 parents 5378f1a + ab5cde3 commit b0aa449

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

functions.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@ function stop_robots_indexing()
1515
}
1616
add_action('init', 'stop_robots_indexing');
1717

18-
// Redirect all traffic to login page
19-
function redirect_to_login() {
20-
if (!is_user_logged_in()) {
21-
wp_redirect(wp_login_url());
22-
exit;
23-
}
24-
}
25-
add_action('template_redirect', 'redirect_to_login');
26-
2718
// create custom post type
2819
// function create_custom_api_post_type() {
2920
// register_post_type('api',

0 commit comments

Comments
 (0)