We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5378f1a + ab5cde3 commit b0aa449Copy full SHA for b0aa449
functions.php
@@ -15,15 +15,6 @@ function stop_robots_indexing()
15
}
16
add_action('init', 'stop_robots_indexing');
17
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
-
27
// create custom post type
28
// function create_custom_api_post_type() {
29
// register_post_type('api',
0 commit comments