0 ? array_slice( $queue, 0, $limit ) : $queue; update_option( self::QUEUE_OPTION, array_slice( $queue, count( $taken ) ), false ); return $taken; } }