14 1 月 05current_user_can 用來判斷現在這個用戶的權利 Powen Ko | CH02用戶資料 | off 用來判斷現在這個用戶的權利 if ( ! current_user_can( 'edit_others_posts' ) ) return; if ( ! current_user_can( 'edit_others_posts' ) ) return; 可以參觀此 httpsss://developer.wordpress.org/plugins/security/checking-user-capabilities/