$current_user = wp_get_current_user(); return in_array($roleName, $current_user->roles); } public function __construct( )
確定! 回上一頁